mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
issue #28622: Remove redundant variable annotation test from test_grammar. Ivan L.
This commit is contained in:
parent
3bd7900155
commit
f570d0f117
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue