mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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:
parent
fabd7bb8e0
commit
0ee0b2938c
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue