]> granicus.if.org Git - python/commitdiff
Issue #27352: Fixed an error message in a test.
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 27 Jun 2016 20:40:43 +0000 (23:40 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 27 Jun 2016 20:40:43 +0000 (23:40 +0300)
Lib/test/test_ast.py

index 7b43be6dfc2ac1e220dd39650cd1aba6ad895c31..e032f6d27a8f1be2fac6aa11f59cddad3799100c 100644 (file)
@@ -754,7 +754,7 @@ class ASTValidatorTests(unittest.TestCase):
 
     def test_importfrom(self):
         imp = ast.ImportFrom(None, [ast.alias("x", None)], -42)
-        self.stmt(imp, "level less than -1")
+        self.stmt(imp, "Negative ImportFrom level")
         self.stmt(ast.ImportFrom(None, [], 0), "empty names on ImportFrom")
 
     def test_global(self):