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.