]> granicus.if.org Git - python/commitdiff
issue27985 - fix the incorrect duplicate class name in the lib2to3
authorGregory P. Smith <greg@krypto.org>
Fri, 9 Sep 2016 21:48:08 +0000 (14:48 -0700)
committerGregory P. Smith <greg@krypto.org>
Fri, 9 Sep 2016 21:48:08 +0000 (14:48 -0700)
test.  call it TestVarAnnotations instead.

Lib/lib2to3/tests/test_parser.py

index 7613f53927688d76b82a8af6c521b2229aeeb435..50e78a0d2bec51bffec4f8464663c1f8a16f0a9d 100644 (file)
@@ -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")