diff options
Diffstat (limited to 'tests/x509')
-rw-r--r-- | tests/x509/test_x509_ext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/x509/test_x509_ext.py b/tests/x509/test_x509_ext.py index 6a64e4aa..11e35207 100644 --- a/tests/x509/test_x509_ext.py +++ b/tests/x509/test_x509_ext.py @@ -5219,6 +5219,6 @@ class TestOCSPNonce(object): def test_all_extension_oid_members_have_names_defined(): for oid in dir(ExtensionOID): - if oid[:2] == '__': + if oid.startswith('__'): continue assert getattr(ExtensionOID, oid) in _OID_NAMES |