summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3/tests/test_fixers.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib2to3/tests/test_fixers.py')
-rw-r--r--Lib/lib2to3/tests/test_fixers.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/lib2to3/tests/test_fixers.py b/Lib/lib2to3/tests/test_fixers.py
index bfe7a23..8cecf3c 100644
--- a/Lib/lib2to3/tests/test_fixers.py
+++ b/Lib/lib2to3/tests/test_fixers.py
@@ -290,30 +290,30 @@ class Test_reload(FixerTestCase):
def test(self):
b = """reload(a)"""
- a = """import imp\nimp.reload(a)"""
+ a = """import importlib\nimportlib.reload(a)"""
self.check(b, a)
def test_comment(self):
b = """reload( a ) # comment"""
- a = """import imp\nimp.reload( a ) # comment"""
+ a = """import importlib\nimportlib.reload( a ) # comment"""
self.check(b, a)
# PEP 8 comments
b = """reload( a ) # comment"""
- a = """import imp\nimp.reload( a ) # comment"""
+ a = """import importlib\nimportlib.reload( a ) # comment"""
self.check(b, a)
def test_space(self):
b = """reload( a )"""
- a = """import imp\nimp.reload( a )"""
+ a = """import importlib\nimportlib.reload( a )"""
self.check(b, a)
b = """reload( a)"""
- a = """import imp\nimp.reload( a)"""
+ a = """import importlib\nimportlib.reload( a)"""
self.check(b, a)
b = """reload(a )"""
- a = """import imp\nimp.reload(a )"""
+ a = """import importlib\nimportlib.reload(a )"""
self.check(b, a)
def test_unchanged(self):