[Zope-Checkins] CVS: Packages/Zope/Startup/tests - test_warnfilter.py:1.3

Evan Simpson evan at 4-am.com
Thu Dec 18 14:58:09 EST 2003


Update of /cvs-repository/Packages/Zope/Startup/tests
In directory cvs.zope.org:/tmp/cvs-serv17399/lib/python/Zope/Startup/tests

Modified Files:
	test_warnfilter.py 
Log Message:
Put default warning filters back, so that 'make test' runs cleanly.


=== Packages/Zope/Startup/tests/test_warnfilter.py 1.2 => 1.3 ===
--- Packages/Zope/Startup/tests/test_warnfilter.py:1.2	Sun Nov 30 11:33:41 2003
+++ Packages/Zope/Startup/tests/test_warnfilter.py	Thu Dec 18 14:58:07 2003
@@ -49,6 +49,8 @@
 
     def tearDown(self):
         warnings.resetwarnings()
+        warnings.simplefilter("ignore", category=PendingDeprecationWarning)
+        warnings.simplefilter("ignore", category=OverflowWarning)
 
     def load_config_text(self, text):
         # We have to create a directory of our own since the existence




More information about the Zope-Checkins mailing list