Log message for revision 115680: Only reset the warnings filter to default in Python 2.7
Changed: U Zope/trunk/buildout.cfg -=- Modified: Zope/trunk/buildout.cfg =================================================================== --- Zope/trunk/buildout.cfg 2010-08-14 15:26:09 UTC (rev 115679) +++ Zope/trunk/buildout.cfg 2010-08-14 17:05:11 UTC (rev 115680) @@ -23,8 +23,9 @@ [test] recipe = zc.recipe.testrunner initialization = + import sys import warnings - warnings.simplefilter('default') + if sys.version_info >= (2, 7): warnings.simplefilter('default') eggs = Zope2 _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org https://mail.zope.org/mailman/listinfo/zope-checkins