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

Jim Fulton <[email protected]>
Newsgroups gmane.comp.python.zope.zodb.cvs
Message-ID <20090930180916.003D07083BC__2657.58810933239$1254334204$gmane$org@cvs.zope.org>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.