[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/tests/testZEO2.py Changed a test to deal with Python exception formatting changes

Jim Fulton jim at zope.com
Wed Sep 30 14:09:15 EDT 2009


Log message for revision 104655:
  Changed a test to deal with Python exception formatting changes
  accross revs.
  

Changed:
  U   ZODB/trunk/src/ZEO/tests/testZEO2.py

-=-
Modified: ZODB/trunk/src/ZEO/tests/testZEO2.py
===================================================================
--- ZODB/trunk/src/ZEO/tests/testZEO2.py	2009-09-30 15:38:53 UTC (rev 104654)
+++ ZODB/trunk/src/ZEO/tests/testZEO2.py	2009-09-30 18:09:15 UTC (rev 104655)
@@ -91,9 +91,8 @@
 client will be restarted.  It will get a conflict error, that is
 handled correctly:
 
-    >>> zs1.tpc_abort('0') # doctest: +NORMALIZE_WHITESPACE
-    2 callAsync serialnos ([('\x00\x00\x00\x00\x00\x00\x00\x01',
-                             ConflictError())],)
+    >>> zs1.tpc_abort('0') # doctest: +ELLIPSIS
+    2 callAsync serialnos ...
     reply 1 None
     (511/test-addr) Blocked transaction restarted.
 



More information about the Zodb-checkins mailing list