mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
revert change in inappropiate branch
This commit is contained in:
parent
3ea23ddabf
commit
42311734ab
1 changed files with 2 additions and 2 deletions
|
@ -568,8 +568,8 @@ class Test_touch_import(support.TestCase):
|
|||
|
||||
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()')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue