From: Gregory P. Smith Date: Fri, 9 Sep 2016 21:48:08 +0000 (-0700) Subject: issue27985 - fix the incorrect duplicate class name in the lib2to3 X-Git-Tag: v3.6.0b1~166^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa40ca811fbaa0a4fae4445efb43c62e07718292;p=thirdparty%2FPython%2Fcpython.git issue27985 - fix the incorrect duplicate class name in the lib2to3 test. call it TestVarAnnotations instead. --- diff --git a/Lib/lib2to3/tests/test_parser.py b/Lib/lib2to3/tests/test_parser.py index 7613f5392768..50e78a0d2bec 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")