diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-04-18 23:31:33 +0000 |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-04-18 23:31:33 +0000 |
commit | 607bff1ebe81e869697e228322da4c308e8753a5 (patch) | |
tree | ab9126adaba09e9c1cd436b1ca76c5ac3d67eb3c /Lib/test/test_frozen.py | |
parent | 6f34109384f3a78d5f4f8bdd418a89caca19631e (diff) | |
download | cpython-git-607bff1ebe81e869697e228322da4c308e8753a5.tar.gz |
Some tests did not pass on repeated calls (regrtest -R::)
Perform additional cleanup, mostly deleting from sys.modules, or clearing the warnings registry.
Diffstat (limited to 'Lib/test/test_frozen.py')
-rw-r--r-- | Lib/test/test_frozen.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_frozen.py b/Lib/test/test_frozen.py index e981fb3ddb..4835e475f8 100644 --- a/Lib/test/test_frozen.py +++ b/Lib/test/test_frozen.py @@ -35,6 +35,10 @@ class FrozenTests(unittest.TestCase): self.assertEquals(stdout.getvalue(), 'Hello world...\nHello world...\nHello world...\n') + del sys.modules['__hello__'] + del sys.modules['__phello__'] + del sys.modules['__phello__.spam'] + def test_main(): run_unittest(FrozenTests) |