summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_parser.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/Lib/test/test_parser.py b/Lib/test/test_parser.py
index ade7431..dad9619 100644
--- a/Lib/test/test_parser.py
+++ b/Lib/test/test_parser.py
@@ -471,18 +471,18 @@ class IllegalSyntaxTestCase(unittest.TestCase):
self.check_bad_tree(tree, "malformed global ast")
def test_missing_import_source(self):
- # from import a
+ # from import fred
tree = \
(257,
- (267,
- (268,
- (269,
- (281,
- (283, (1, 'from'), (1, 'import'),
- (286, (284, (1, 'fred')))))),
+ (268,
+ (269,
+ (270,
+ (282,
+ (284, (1, 'from'), (1, 'import'),
+ (287, (285, (1, 'fred')))))),
(4, ''))),
(4, ''), (0, ''))
- self.check_bad_tree(tree, "from import a")
+ self.check_bad_tree(tree, "from import fred")
class CompileTestCase(unittest.TestCase):