[Zope-Checkins] CVS: Zope3 - test.py:1.1.2.12

Jeremy Hylton jeremy@zope.com
Tue, 4 Jun 2002 12:45:17 -0400


Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv9227

Modified Files:
      Tag: Zope-3x-branch
	test.py 
Log Message:
Add return in except clause.

If module doesn't have a test_suite() method, return None.


=== Zope3/test.py 1.1.2.11 => 1.1.2.12 ===
     except AttributeError:
         print "No test_suite() in %s" % file
+        return None
     return suite_func()
 
 def filter_testcases(s, rx):