[Checkins] SVN: zc.ngi/trunk/buildout.cfg Reenable deprecation warnings in Python 2.7 and later. :(
Jim Fulton
jim at zope.com
Tue Jul 6 19:09:35 EDT 2010
Log message for revision 114273:
Reenable deprecation warnings in Python 2.7 and later. :(
Changed:
U zc.ngi/trunk/buildout.cfg
-=-
Modified: zc.ngi/trunk/buildout.cfg
===================================================================
--- zc.ngi/trunk/buildout.cfg 2010-07-06 22:03:11 UTC (rev 114272)
+++ zc.ngi/trunk/buildout.cfg 2010-07-06 23:09:34 UTC (rev 114273)
@@ -5,6 +5,9 @@
[test]
recipe = zc.recipe.testrunner
eggs = zc.ngi [test]
+initialization =
+ import sys, warnings
+ if sys.version_info >= (2, 7): warnings.simplefilter('default')
[test2.5]
<= test
@@ -14,6 +17,10 @@
<= test
python = python2.6
+[test2.7]
+<= test
+python = python2.7
+
[py]
recipe = zc.recipe.egg
eggs = zc.ngi
More information about the checkins
mailing list