[Python-checkins] cpython (merge 3.2 -> default): Merge from 3.2.

eric.smith python-checkins at python.org
Wed May 16 10:49:36 CEST 2012


http://hg.python.org/cpython/rev/9b66caf0e217
changeset:   76984:9b66caf0e217
parent:      76982:4ec95207281c
parent:      76983:57936bd91bcf
user:        Eric V. Smith <eric at trueblade.com>
date:        Wed May 16 04:49:22 2012 -0400
summary:
  Merge from 3.2.

files:
  Lib/test/test_pkgutil.py |  3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_pkgutil.py b/Lib/test/test_pkgutil.py
--- a/Lib/test/test_pkgutil.py
+++ b/Lib/test/test_pkgutil.py
@@ -165,6 +165,9 @@
     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)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list