]> granicus.if.org Git - python/commitdiff
Fix typo in test_unparse.py.
authorMark Dickinson <dickinsm@gmail.com>
Mon, 28 Jun 2010 19:34:15 +0000 (19:34 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Mon, 28 Jun 2010 19:34:15 +0000 (19:34 +0000)
Demo/parser/test_unparse.py

index bf68c1ac550f6432b26e31441e1a35b815d4391e..4f3a28e52b2752c7803b288b5ef030378ac780c7 100644 (file)
@@ -46,7 +46,7 @@ class UnparseTestCase(unittest.TestCase):
         self.check_roundtrip(forelse)
 
     def test_while_else(self):
-        self.check_roundtrip(forelse)
+        self.check_roundtrip(whileelse)
 
     def test_unary_parens(self):
         self.check_roundtrip("(-1)**7")