Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_parser.py @ 62788:d2830091237c
Fix symbol numbers in test_parser test.
| author | Mark Dickinson <dickinsm@gmail.com> |
|---|---|
| date | Sun, 04 Jul 2010 18:15:26 +0000 |
| parents | c6f16b8cb858 |
| children | fb360c079059 |
line wrap: on
line diff
--- a/Lib/test/test_parser.py Sun Jul 04 18:11:51 2010 +0000 +++ b/Lib/test/test_parser.py Sun Jul 04 18:15:26 2010 +0000 @@ -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):
