[Zope3-checkins] SVN: zope.testing/trunk/src/zope/testing/testrunner- more zope.testing fixes for Python 2.5:

Benji York benji at zope.com
Thu Apr 27 16:46:29 EDT 2006


Log message for revision 67672:
  more zope.testing fixes for Python 2.5:
   - accomodate change in handling of tracebacks that included continued lines
   - another slight change to pdb output
  

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

-=-
Modified: zope.testing/trunk/src/zope/testing/testrunner-debugging.txt
===================================================================
--- zope.testing/trunk/src/zope/testing/testrunner-debugging.txt	2006-04-27 20:40:05 UTC (rev 67671)
+++ zope.testing/trunk/src/zope/testing/testrunner-debugging.txt	2006-04-27 20:46:29 UTC (rev 67672)
@@ -109,7 +109,7 @@
     exceptions.AssertionError:
     1 != 2
     > .../unittest.py(302)failUnlessEqual()
-    -> raise self.failureException, \
+    -> ...
     (Pdb) up
     > testrunner-ex/sample3/sampletests_d.py(42)test_post_mortem_failure1()
     -> self.assertEqual(x, y)

Modified: zope.testing/trunk/src/zope/testing/testrunner-edge-cases.txt
===================================================================
--- zope.testing/trunk/src/zope/testing/testrunner-edge-cases.txt	2006-04-27 20:40:05 UTC (rev 67671)
+++ zope.testing/trunk/src/zope/testing/testrunner-edge-cases.txt	2006-04-27 20:46:29 UTC (rev 67672)
@@ -107,7 +107,7 @@
     > doctest.py(351)set_trace()->None
     -> pdb.Pdb.set_trace(self)
     (Pdb) n
-    > <doctest sample3.sampletests_d.set_trace3[1]>(3)?()
+    > <doctest sample3.sampletests_d.set_trace3[1]>(3)...()
     -> y = x
     (Pdb) p x
     1
@@ -128,7 +128,7 @@
     > doctest.py(351)set_trace()->None
     -> pdb.Pdb.set_trace(self)
     (Pdb) n
-    > <doctest set_trace5.txt[1]>(3)?()
+    > <doctest set_trace5.txt[1]>(3)...()
     -> y = x
     (Pdb) p x
     1
@@ -216,7 +216,7 @@
     <BLANKLINE>
     exceptions.ValueError:
     <BLANKLINE>
-    > <doctest sample3.sampletests_d.post_mortem3[1]>(1)?()
+    > <doctest sample3.sampletests_d.post_mortem3[1]>(1)...()
     (Pdb) p x
     1
     (Pdb) c
@@ -283,7 +283,7 @@
     <BLANKLINE>
     exceptions.ValueError:
     <BLANKLINE>
-    > <doctest post_mortem5.txt[1]>(1)?()
+    > <doctest post_mortem5.txt[1]>(1)...()
     (Pdb) p x
     1
     (Pdb) c
@@ -352,7 +352,7 @@
     > testrunner-ex/sample3/sampletests_d.py(81)_()
     exceptions.ValueError:
     Expected and actual output are different
-    > <string>(1)?()
+    > <string>(1)...()
     (Pdb) p x
     1
     (Pdb) c
@@ -387,7 +387,7 @@
     > testrunner-ex/sample3/post_mortem_failure.txt(2)_()
     exceptions.ValueError:
     Expected and actual output are different
-    > <string>(1)?()
+    > <string>(1)...()
     (Pdb) p x
     1
     (Pdb) c



More information about the Zope3-Checkins mailing list