commit | 607bff1ebe81e869697e228322da4c308e8753a5 | [log] [tgz] |
---|---|---|
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Fri Apr 18 23:31:33 2008 +0000 |
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Fri Apr 18 23:31:33 2008 +0000 |
tree | ab9126adaba09e9c1cd436b1ca76c5ac3d67eb3c | |
parent | 6f34109384f3a78d5f4f8bdd418a89caca19631e [diff] [blame] |
Some tests did not pass on repeated calls (regrtest -R::) Perform additional cleanup, mostly deleting from sys.modules, or clearing the warnings registry.
diff --git a/Lib/test/test_warnings.py b/Lib/test/test_warnings.py index fb6aabb..9fca080 100644 --- a/Lib/test/test_warnings.py +++ b/Lib/test/test_warnings.py
@@ -391,6 +391,8 @@ def test_main(): + py_warnings.onceregistry.clear() + c_warnings.onceregistry.clear() test_support.run_unittest(CFilterTests, PyFilterTests, CWarnTests,