[Python-checkins] r82553 - python/branches/py3k/Lib/test/test_parser.py

mark.dickinson python-checkins at python.org
Sun Jul 4 20:15:26 CEST 2010


Author: mark.dickinson
Date: Sun Jul  4 20:15:26 2010
New Revision: 82553

Log:
Fix symbol numbers in test_parser test.

Modified:
   python/branches/py3k/Lib/test/test_parser.py

Modified: python/branches/py3k/Lib/test/test_parser.py
==============================================================================
--- python/branches/py3k/Lib/test/test_parser.py	(original)
+++ python/branches/py3k/Lib/test/test_parser.py	Sun Jul  4 20:15:26 2010
@@ -471,18 +471,18 @@
         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):


More information about the Python-checkins mailing list