From f570d0f117e23c2be982c7db910309d52b0496aa Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sun, 6 Nov 2016 18:25:39 -0800 Subject: issue #28622: Remove redundant variable annotation test from test_grammar. Ivan L. --- Lib/test/test_grammar.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py index 03f2c84..65e26bf 100644 --- a/Lib/test/test_grammar.py +++ b/Lib/test/test_grammar.py @@ -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 -- cgit v0.12