mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
unload() should be sufficient
This commit is contained in:
parent
abe72d7eb3
commit
037615e1ef
1 changed files with 2 additions and 2 deletions
|
@ -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__))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue