summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_imp.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-02-22 01:30:09 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-02-22 01:30:09 (GMT)
commit037615e1ef0784f5602393ce5fa6802811ae1559 (patch)
treef3ab024a2464d2faf50dbb976a72223b07e7d81b /Lib/test/test_imp.py
parentabe72d7eb3c5288c35214073e2cb25a61f2174ea (diff)
downloadcpython-037615e1ef0784f5602393ce5fa6802811ae1559.zip
cpython-037615e1ef0784f5602393ce5fa6802811ae1559.tar.gz
cpython-037615e1ef0784f5602393ce5fa6802811ae1559.tar.bz2
unload() should be sufficient
Diffstat (limited to 'Lib/test/test_imp.py')
-rw-r--r--Lib/test/test_imp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_imp.py b/Lib/test/test_imp.py
index 739f780..90ccd7e 100644
--- a/Lib/test/test_imp.py
+++ b/Lib/test/test_imp.py
@@ -329,9 +329,9 @@ class PEP3147Tests(unittest.TestCase):
m = __import__('pep3147')
self.assertEqual(m.__file__, expected___file__, (m.__file__, m.__path__))
# Ensure we load the pyc file.
- support.forget('pep3147')
+ support.unload('pep3147')
m = __import__('pep3147')
- support.forget('pep3147')
+ support.unload('pep3147')
sys.stdout.flush()
self.assertEqual(m.__file__, expected___file__, (m.__file__, m.__path__))