commit | 885982283e1fb898cfaa59992dc877b0a20088e5 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Wed May 14 07:18:22 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Wed May 14 07:18:22 2008 +0000 |
tree | 10bfb668d0c791564e50dd76025abad10223b517 | |
parent | 40388cc3308e405dfb0f971eb144c7741c89868b [diff] [blame] |
Fix another "refleak" by clearing the filters after test.
diff --git a/Lib/test/test_warnings.py b/Lib/test/test_warnings.py index 70d8c56..fdb003f 100644 --- a/Lib/test/test_warnings.py +++ b/Lib/test/test_warnings.py
@@ -396,6 +396,7 @@ self.assertRaises(TypeError, self.module.warn, "Warning!") finally: self.module.showwarning = old_showwarning + self.module.resetwarnings() def test_show_warning_output(self): # With showarning() missing, make sure that output is okay.