diff -r 361409a8961e Lib/test/test_grammar.py --- a/Lib/test/test_grammar.py Sat Nov 05 02:46:30 2016 +0000 +++ b/Lib/test/test_grammar.py Sun Nov 06 10:05:54 2016 +0100 @@ -359,9 +359,6 @@ 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