summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2016-11-06 18:26:08 -0800
committerGuido van Rossum <guido@python.org>2016-11-06 18:26:08 -0800
commita80b9c51e1b2e3234bee84dae6bb21f3e468d15d (patch)
treec82b6c35508b3494c67e85786f006e961353c4f3
parent6e9d6b95363a584513cbd69467317976fcb45a51 (diff)
parentf570d0f117e23c2be982c7db910309d52b0496aa (diff)
downloadcpython-git-a80b9c51e1b2e3234bee84dae6bb21f3e468d15d.tar.gz
issue #28622: Remove redundant variable annotation test from test_grammar. Ivan L. (3.6->3.7)
-rw-r--r--Lib/test/test_grammar.py3
1 files changed, 0 insertions, 3 deletions
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