Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ea23dd commit 4231173Copy full SHA for 4231173
1 file changed
Lib/lib2to3/tests/test_util.py
@@ -568,8 +568,8 @@ def test_beginning(self):
568
569
def test_from_import(self):
570
node = parse('bar()')
571
- fixer_util.touch_import("html", "escape", node)
572
- 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')
573
574
def test_name_import(self):
575
0 commit comments