mirror of https://github.com/python/cpython
Cleanup so subsequent tests won't fail. Needs to be moved into a support routine (see 14715).
This commit is contained in:
parent
28e68ea6ea
commit
5cdc6308b6
|
@ -165,6 +165,9 @@ class ExtendPathTests(unittest.TestCase):
|
|||
def tearDown(self):
|
||||
del sys.path[0]
|
||||
del sys.path[0]
|
||||
del sys.modules['foo']
|
||||
del sys.modules['foo.bar']
|
||||
del sys.modules['foo.baz']
|
||||
|
||||
def test_simple(self):
|
||||
self.create_submodule(self.dirname_0, self.pkgname, 'bar', 0)
|
||||
|
|
Loading…
Reference in New Issue