[Python-checkins] python/dist/src/Lib doctest.py,1.107,1.108
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Mon Sep 20 21:52:38 CEST 2004
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20341/Lib
Modified Files:
doctest.py
Log Message:
Whitespace normalization.
Index: doctest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/doctest.py,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
--- doctest.py 19 Sep 2004 17:19:33 -0000 1.107
+++ doctest.py 20 Sep 2004 19:52:34 -0000 1.108
@@ -2051,7 +2051,7 @@
if package and not module_relative:
raise ValueError("Package may only be specified for module-"
"relative paths.")
-
+
# Relativize the path
if module_relative:
package = _normalize_module(package)
@@ -2458,7 +2458,7 @@
if package and not module_relative:
raise ValueError("Package may only be specified for module-"
"relative paths.")
-
+
# Relativize the path.
if module_relative:
package = _normalize_module(package)
@@ -2475,7 +2475,7 @@
def DocFileSuite(*paths, **kw):
"""A unittest suite for one or more doctest files.
-
+
The path to each doctest file is given as a string; the
interpretation of that string depends on the keyword argument
"module_relative".
@@ -2491,7 +2491,7 @@
"filename" should use "/" characters to separate path
segments, and may not be an absolute path (i.e., it may not
begin with "/").
-
+
If "module_relative" is False, then the given file paths are
interpreted as os-specific paths. These paths may be absolute
or relative (to the current working directory).
More information about the Python-checkins
mailing list