summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ast.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-06-27 20:40:43 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-06-27 20:40:43 (GMT)
commit7de2840508fee33ea1b0070b7eee78056ad08cfa (patch)
treee877abcfce1ccc0b4853115c2e6d5bdd47a011ea /Lib/test/test_ast.py
parent2977cdcee4396b6cb8df4ce0d924b6b3cdbcf2b4 (diff)
downloadcpython-7de2840508fee33ea1b0070b7eee78056ad08cfa.zip
cpython-7de2840508fee33ea1b0070b7eee78056ad08cfa.tar.gz
cpython-7de2840508fee33ea1b0070b7eee78056ad08cfa.tar.bz2
Issue #27352: Fixed an error message in a test.
Diffstat (limited to 'Lib/test/test_ast.py')
-rw-r--r--Lib/test/test_ast.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py
index 7b43be6..e032f6d 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):