mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
issue27985 - fix the incorrect duplicate class name in the lib2to3
test. call it TestVarAnnotations instead.
This commit is contained in:
parent
ae8b69c410
commit
fa40ca811f
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ class TestFunctionAnnotations(GrammarTest):
|
|||
|
||||
|
||||
# Adapted from Python 3's Lib/test/test_grammar.py:GrammarTests.test_var_annot
|
||||
class TestFunctionAnnotations(GrammarTest):
|
||||
class TestVarAnnotations(GrammarTest):
|
||||
def test_1(self):
|
||||
self.validate("var1: int = 5")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue