mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
gh-119180: PEP 649: Add __annotate__ attributes (#119209)
This commit is contained in:
parent
73ab83b27f
commit
e9875ecb5d
13 changed files with 324 additions and 18 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue