[Zope3-checkins] SVN: zope.testing/trunk/src/zope/testing/testrunner-edge-cases.txt Python 2.5 compatibility: due to explicit type checks in

Marius Gedminas marius at pov.lt
Thu Jul 12 12:23:17 EDT 2007


Log message for revision 77773:
  Python 2.5 compatibility: due to explicit type checks in
  unittest.TestSuite.addTest(), the error is caught earlier and presented
  differently ("TypeError: the test to add must be callable").  Since the module
  name is available in both cases, they both ought to be acceptable.
  
  

Changed:
  U   zope.testing/trunk/src/zope/testing/testrunner-edge-cases.txt

-=-
Modified: zope.testing/trunk/src/zope/testing/testrunner-edge-cases.txt
===================================================================
--- zope.testing/trunk/src/zope/testing/testrunner-edge-cases.txt	2007-07-12 16:10:04 UTC (rev 77772)
+++ zope.testing/trunk/src/zope/testing/testrunner-edge-cases.txt	2007-07-12 16:23:16 UTC (rev 77773)
@@ -444,8 +444,7 @@
     <BLANKLINE>
     Module: sample1.sampletests_none_test
     <BLANKLINE>
-    TypeError: Invalid test, None,
-    in test_suite from sample1.sampletests_none_test
+    TypeError: ...
     <BLANKLINE>
     <BLANKLINE>
     Total: 0 tests, 0 failures, 0 errors



More information about the Zope3-Checkins mailing list