Issue #27352: Fixed an error message in a test.
This commit is contained in:
parent
2977cdcee4
commit
7de2840508
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue