Commit bbe2abea authored by Hanno Schlichting's avatar Hanno Schlichting

Only reset the warnings filter to default in Python 2.7

parent df365884
...@@ -23,8 +23,9 @@ auto-checkout = ...@@ -23,8 +23,9 @@ auto-checkout =
[test] [test]
recipe = zc.recipe.testrunner recipe = zc.recipe.testrunner
initialization = initialization =
import sys
import warnings import warnings
warnings.simplefilter('default') if sys.version_info >= (2, 7): warnings.simplefilter('default')
eggs = Zope2 eggs = Zope2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment