summaryrefslogtreecommitdiff
path: root/Lib/lib2to3/tests
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2016-09-09 14:48:08 -0700
committerGregory P. Smith <greg@krypto.org>2016-09-09 14:48:08 -0700
commit398c936834a7fde7b162fd61cb9826e482c864fa (patch)
tree6762064b343eba150217842eccb3e76e6e5ab460 /Lib/lib2to3/tests
parent2615f24fb54cece9f22c5e2b1d206e8dd559631a (diff)
downloadcpython-398c936834a7fde7b162fd61cb9826e482c864fa.tar.gz
issue27985 - fix the incorrect duplicate class name in the lib2to3
test. call it TestVarAnnotations instead.
Diffstat (limited to 'Lib/lib2to3/tests')
-rw-r--r--Lib/lib2to3/tests/test_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib2to3/tests/test_parser.py b/Lib/lib2to3/tests/test_parser.py
index 7613f53927..50e78a0d2b 100644
--- a/Lib/lib2to3/tests/test_parser.py
+++ b/Lib/lib2to3/tests/test_parser.py
@@ -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")