[Jython-checkins] jython: Tweak to test_doctest to get it working.

frank.wierzbicki jython-checkins at python.org
Thu Mar 22 20:49:05 CET 2012


http://hg.python.org/jython/rev/b35b1983c9eb
changeset:   6477:b35b1983c9eb
user:        Frank Wierzbicki <fwierzbicki at gmail.com>
date:        Thu Mar 22 12:48:58 2012 -0700
summary:
  Tweak to test_doctest to get it working.

files:
  Lib/test/test_doctest.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py
--- a/Lib/test/test_doctest.py
+++ b/Lib/test/test_doctest.py
@@ -414,7 +414,7 @@
     >>> tests = finder.find(sample_func)
 
     >>> print tests  # doctest: +ELLIPSIS
-    [<DocTest sample_func from ...:17 (1 example)>]
+    [<DocTest sample_func from ...:19 (1 example)>]
 
 The exact name depends on how test_doctest was invoked, so allow for
 leading path components.

-- 
Repository URL: http://hg.python.org/jython


More information about the Jython-checkins mailing list