[Checkins] SVN: Zope/trunk/buildout.cfg Enable default warnings	during tests, so we see them in Python 2.7
    Hanno Schlichting 
    hannosch at hannosch.eu
       
    Sun Aug  8 11:46:27 EDT 2010
    
    
  
Log message for revision 115554:
  Enable default warnings during tests, so we see them in Python 2.7
  
Changed:
  U   Zope/trunk/buildout.cfg
-=-
Modified: Zope/trunk/buildout.cfg
===================================================================
--- Zope/trunk/buildout.cfg	2010-08-08 14:53:33 UTC (rev 115553)
+++ Zope/trunk/buildout.cfg	2010-08-08 15:46:27 UTC (rev 115554)
@@ -22,6 +22,9 @@
 
 [test]
 recipe = zc.recipe.testrunner
+initialization =
+    import warnings
+    warnings.simplefilter('default')
 eggs = Zope2
 
 
@@ -39,6 +42,9 @@
 
 [alltests]
 recipe = zc.recipe.testrunner
+initialization =
+    import warnings
+    warnings.simplefilter('default')
 eggs =
     Zope2
     AccessControl
    
    
More information about the checkins
mailing list