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

This commit is contained in:
Guido van Rossum 2016-11-06 18:25:39 -08:00
parent 3bd7900155
commit f570d0f117

View file

@ -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