A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2010-October/098506.html below:

[Python-checkins] r85551 - sandbox/trunk/2to3/lib2to3/tests/test_util.py

[Python-checkins] r85551 - sandbox/trunk/2to3/lib2to3/tests/test_util.py [Python-checkins] r85551 - sandbox/trunk/2to3/lib2to3/tests/test_util.pybenjamin.peterson python-checkins at python.org
Fri Oct 15 23:57:29 CEST 2010
Author: benjamin.peterson
Date: Fri Oct 15 23:57:29 2010
New Revision: 85551

Log:
escape() is now in the html module

Modified:
   sandbox/trunk/2to3/lib2to3/tests/test_util.py

Modified: sandbox/trunk/2to3/lib2to3/tests/test_util.py
==============================================================================
--- sandbox/trunk/2to3/lib2to3/tests/test_util.py	(original)
+++ sandbox/trunk/2to3/lib2to3/tests/test_util.py	Fri Oct 15 23:57:29 2010
@@ -568,8 +568,8 @@
 
     def test_from_import(self):
         node = parse('bar()')
-        fixer_util.touch_import("cgi", "escape", node)
-        self.assertEqual(str(node), 'from cgi import escape\nbar()\n\n')
+        fixer_util.touch_import("html", "escape", node)
+        self.assertEqual(str(node), 'from html import escape\nbar()\n\n')
 
     def test_name_import(self):
         node = parse('bar()')
More information about the Python-checkins mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4