From: Antoine Pitrou <solipsis@pitrou.net>
Date: Wed, 22 Feb 2012 01:30:09 +0000 (+0100)
Subject: unload() should be sufficient
X-Git-Tag: v3.3.0a1~99
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=037615e1ef0784f5602393ce5fa6802811ae1559;p=python

unload() should be sufficient
---

diff --git a/Lib/test/test_imp.py b/Lib/test/test_imp.py
index 739f780cba..90ccd7e20e 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__))