Merge from 3.2.

This commit is contained in:
Eric V. Smith 2012-05-16 04:49:22 -04:00
commit 313fbe2106
1 changed files with 3 additions and 0 deletions

View File

@ -165,6 +165,9 @@ class ExtendPathTests(unittest.TestCase):
def tearDown(self): def tearDown(self):
del sys.path[0] del sys.path[0]
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): def test_simple(self):
self.create_submodule(self.dirname_0, self.pkgname, 'bar', 0) self.create_submodule(self.dirname_0, self.pkgname, 'bar', 0)