From: Guido van Rossum Date: Mon, 7 Nov 2016 02:25:39 +0000 (-0800) Subject: issue #28622: Remove redundant variable annotation test from test_grammar. Ivan L. X-Git-Tag: v3.6.0b4~141 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f570d0f117e23c2be982c7db910309d52b0496aa;p=python issue #28622: Remove redundant variable annotation test from test_grammar. Ivan L. --- diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py index 03f2c84211..65e26bfd38 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