mirror of
https://github.com/python/cpython
synced 2024-09-19 15:21:30 +00:00
issue #28622: Remove redundant variable annotation test from test_grammar. Ivan L.
This commit is contained in:
parent
3bd7900155
commit
f570d0f117
|
@ -359,9 +359,6 @@ def test_var_annot_module_semantics(self):
|
|||
self.assertEqual(ann_module.M.__annotations__,
|
||||
{'123': 123, 'o': type})
|
||||
self.assertEqual(ann_module2.__annotations__, {})
|
||||
self.assertEqual(typing.get_type_hints(ann_module2.CV,
|
||||
ann_module2.__dict__),
|
||||
ChainMap({'var': typing.ClassVar[ann_module2.CV]}, {}))
|
||||
|
||||
def test_var_annot_in_module(self):
|
||||
# check that functions fail the same way when executed
|
||||
|
|
Loading…
Reference in a new issue