Commit 45abd955 authored by Guido van Rossum's avatar Guido van Rossum

issue #28622: Remove redundant variable annotation test from test_grammar. Ivan L.

parent d6bdd1d2
......@@ -359,9 +359,6 @@ class GrammarTests(unittest.TestCase):
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment