From: Serhiy Storchaka Date: Mon, 27 Jun 2016 20:40:43 +0000 (+0300) Subject: Issue #27352: Fixed an error message in a test. X-Git-Tag: v3.6.0a3~57 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7de2840508fee33ea1b0070b7eee78056ad08cfa;p=python Issue #27352: Fixed an error message in a test. --- diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py index 7b43be6dfc..e032f6d27a 100644 --- a/Lib/test/test_ast.py +++ b/Lib/test/test_ast.py @@ -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):