]> granicus.if.org Git - python/commitdiff
issue #28622: Remove redundant variable annotation test from test_grammar. Ivan L.
authorGuido van Rossum <guido@python.org>
Mon, 7 Nov 2016 02:25:39 +0000 (18:25 -0800)
committerGuido van Rossum <guido@python.org>
Mon, 7 Nov 2016 02:25:39 +0000 (18:25 -0800)
Lib/test/test_grammar.py

index 03f2c84211e6a4d9027f2b2d0a4e143bafb76936..65e26bfd383823e5387b86b960fd74fd94045bf2 100644 (file)
@@ -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