[Python-checkins] cpython: Issue #27352: Fixed an error message in a test.

serhiy.storchaka python-checkins at python.org
Mon Jun 27 16:41:00 EDT 2016


https://hg.python.org/cpython/rev/e5063a82f490
changeset:   102219:e5063a82f490
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Mon Jun 27 23:40:43 2016 +0300
summary:
  Issue #27352: Fixed an error message in a test.

files:
  Lib/test/test_ast.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py
--- a/Lib/test/test_ast.py
+++ b/Lib/test/test_ast.py
@@ -754,7 +754,7 @@
 
     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):

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list