diff options
| author | Victor Stinner <vstinner@python.org> | 2020-08-11 15:28:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-11 15:28:43 +0200 |
| commit | 0ee0b2938cb606151d8d287472c838044bad4a0e (patch) | |
| tree | da94aff53ccc3eeb060312ef925394b2e0ab4936 /Lib/test/test_typing.py | |
| parent | fabd7bb8e0450f16ed5c5c0ad575aa413d65712d (diff) | |
| download | cpython-git-0ee0b2938cb606151d8d287472c838044bad4a0e.tar.gz | |
bpo-41521: Replace whitelist/blacklist with allowlist/denylist (GH-21823)
Rename 5 test method names in test_codecs and test_typing.
Diffstat (limited to 'Lib/test/test_typing.py')
| -rw-r--r-- | Lib/test/test_typing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index 7f96aff710..b3be99141a 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -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 |
