summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2016-09-09 21:48:08 (GMT)
committerGregory P. Smith <greg@krypto.org>2016-09-09 21:48:08 (GMT)
commitfa40ca811fbaa0a4fae4445efb43c62e07718292 (patch)
tree52b16498d793958bac1abd70e72ea3210484884e /Lib/lib2to3
parentae8b69c410b83d92c6c35bbe342c3c2e92be6aa1 (diff)
downloadcpython-fa40ca811fbaa0a4fae4445efb43c62e07718292.zip
cpython-fa40ca811fbaa0a4fae4445efb43c62e07718292.tar.gz
cpython-fa40ca811fbaa0a4fae4445efb43c62e07718292.tar.bz2
issue27985 - fix the incorrect duplicate class name in the lib2to3
test. call it TestVarAnnotations instead.
Diffstat (limited to 'Lib/lib2to3')
-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 7613f53..50e78a0 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")