Issue #27352: Fixed an error message in a test.

This commit is contained in:
Serhiy Storchaka 2016-06-27 23:40:43 +03:00
parent 2977cdcee4
commit 7de2840508
1 changed files with 1 additions and 1 deletions

View 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):