From 98d06e7c0814f91a6ffd06b80996814b4789ff64 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sun, 19 May 2019 09:30:10 -0400 Subject: Small style cleanup (#4891) --- tests/x509/test_x509_ext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3