summaryrefslogtreecommitdiff
path: root/Lib/test/test_typing.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-08-11 15:28:43 +0200
committerGitHub <noreply@github.com>2020-08-11 15:28:43 +0200
commit0ee0b2938cb606151d8d287472c838044bad4a0e (patch)
treeda94aff53ccc3eeb060312ef925394b2e0ab4936 /Lib/test/test_typing.py
parentfabd7bb8e0450f16ed5c5c0ad575aa413d65712d (diff)
downloadcpython-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.py2
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