[pypy-svn] r61390 - pypy/trunk/lib-python/modified-2.5.2/test

arigo at codespeak.net arigo at codespeak.net
Tue Jan 27 14:41:01 CET 2009


Author: arigo
Date: Tue Jan 27 14:40:58 2009
New Revision: 61390

Modified:
   pypy/trunk/lib-python/modified-2.5.2/test/test_doctest.py
Log:
Fix one of the failures by adding the comment "doctest: +ELLIPSIS".
Argh argh argh.


Modified: pypy/trunk/lib-python/modified-2.5.2/test/test_doctest.py
==============================================================================
--- pypy/trunk/lib-python/modified-2.5.2/test/test_doctest.py	(original)
+++ pypy/trunk/lib-python/modified-2.5.2/test/test_doctest.py	Tue Jan 27 14:40:58 2009
@@ -774,9 +774,9 @@
     >>> def f(x):
     ...     '''
     ...     >>> x = 12
-    ...     >>> print x//0
+    ...     >>> print x//0         # doctest: +ELLIPSIS
     ...     Traceback (most recent call last):
-    ...     ZeroDivisionError: integer division or modulo by zero
+    ...     ZeroDivisionError: ...
     ...     '''
     >>> test = doctest.DocTestFinder().find(f)[0]
     >>> doctest.DocTestRunner(verbose=False).run(test)



More information about the Pypy-commit mailing list