summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_typing.py
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2024-05-22 02:38:12 (GMT)
committerGitHub <noreply@github.com>2024-05-22 02:38:12 (GMT)
commite9875ecb5dd3a9c44a184c71cc562ce1fea6e03b (patch)
tree9b8aca9a11a3c8e1e1278cbe0293a0eab5f622a2 /Lib/test/test_typing.py
parent73ab83b27f105a4509046ce26e35f20d66625195 (diff)
downloadcpython-e9875ecb5dd3a9c44a184c71cc562ce1fea6e03b.zip
cpython-e9875ecb5dd3a9c44a184c71cc562ce1fea6e03b.tar.gz
cpython-e9875ecb5dd3a9c44a184c71cc562ce1fea6e03b.tar.bz2
gh-119180: PEP 649: Add __annotate__ attributes (#119209)
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 64c4c49..dac55ce 100644
--- a/Lib/test/test_typing.py
+++ b/Lib/test/test_typing.py
@@ -3723,7 +3723,7 @@ class ProtocolTests(BaseTestCase):
acceptable_extra_attrs = {
'_is_protocol', '_is_runtime_protocol', '__parameters__',
- '__init__', '__annotations__', '__subclasshook__',
+ '__init__', '__annotations__', '__subclasshook__', '__annotate__',
}
self.assertLessEqual(vars(NonP).keys(), vars(C).keys() | acceptable_extra_attrs)
self.assertLessEqual(