diff options
author | Guido van Rossum <guido@python.org> | 2016-11-07 02:25:39 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2016-11-07 02:25:39 (GMT) |
commit | f570d0f117e23c2be982c7db910309d52b0496aa (patch) | |
tree | ac466ecf42e31b50319298053695259f14266a4d /Lib/test/test_grammar.py | |
parent | 3bd79001555df15181524a0ba6843db3a0d3b03c (diff) | |
download | cpython-f570d0f117e23c2be982c7db910309d52b0496aa.zip cpython-f570d0f117e23c2be982c7db910309d52b0496aa.tar.gz cpython-f570d0f117e23c2be982c7db910309d52b0496aa.tar.bz2 |
issue #28622: Remove redundant variable annotation test from test_grammar. Ivan L.
Diffstat (limited to 'Lib/test/test_grammar.py')
-rw-r--r-- | Lib/test/test_grammar.py | 3 |
1 files changed, 0 insertions, 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 |