aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2019-05-19 09:30:10 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2019-05-19 09:30:10 -0400
commit98d06e7c0814f91a6ffd06b80996814b4789ff64 (patch)
tree2781598542c4a2dae6355dcd833e33ad101d50b7 /tests
parent347351f5b6cef7fbaa33ab8c7a72999deed9de26 (diff)
downloadcryptography-98d06e7c0814f91a6ffd06b80996814b4789ff64.tar.gz
cryptography-98d06e7c0814f91a6ffd06b80996814b4789ff64.tar.bz2
cryptography-98d06e7c0814f91a6ffd06b80996814b4789ff64.zip
Small style cleanup (#4891)
Diffstat (limited to 'tests')
-rw-r--r--tests/x509/test_x509_ext.py2
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