[Python-checkins] r85550 - python/branches/py3k/Lib/lib2to3/tests/test_util.py

benjamin.peterson python-checkins at python.org
Fri Oct 15 23:56:35 CEST 2010


Author: benjamin.peterson
Date: Fri Oct 15 23:56:35 2010
New Revision: 85550

Log:
revert change in inappropiate branch

Modified:
   python/branches/py3k/Lib/lib2to3/tests/test_util.py

Modified: python/branches/py3k/Lib/lib2to3/tests/test_util.py
==============================================================================
--- python/branches/py3k/Lib/lib2to3/tests/test_util.py	(original)
+++ python/branches/py3k/Lib/lib2to3/tests/test_util.py	Fri Oct 15 23:56:35 2010
@@ -568,8 +568,8 @@
 
     def test_from_import(self):
         node = parse('bar()')
-        fixer_util.touch_import("html", "escape", node)
-        self.assertEqual(str(node), 'from html import escape\nbar()\n\n')
+        fixer_util.touch_import("cgi", "escape", node)
+        self.assertEqual(str(node), 'from cgi import escape\nbar()\n\n')
 
     def test_name_import(self):
         node = parse('bar()')


More information about the Python-checkins mailing list