Commit 037615e1 authored by Antoine Pitrou's avatar Antoine Pitrou

unload() should be sufficient

parent abe72d7e
......@@ -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__))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment