mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #27352: Fixed an error message in a test.
This commit is contained in:
parent
2977cdcee4
commit
7de2840508
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue