bpo-41521: Replace whitelist/blacklist with allowlist/denylist (GH-21823)

Rename 5 test method names in test_codecs and test_typing.
This commit is contained in:
Victor Stinner 2020-08-11 15:28:43 +02:00 committed by GitHub
parent fabd7bb8e0
commit 0ee0b2938c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -1387,7 +1387,7 @@ class ProtocolTests(BaseTestCase):
self.assertIsSubclass(B, Custom)
self.assertNotIsSubclass(A, Custom)
def test_builtin_protocol_whitelist(self):
def test_builtin_protocol_allowlist(self):
with self.assertRaises(TypeError):
class CustomProtocol(TestCase, Protocol):
pass