diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-09-20 19:52:34 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-09-20 19:52:34 (GMT) |
commit | bab3e996894032e96993575182105817aedf90e0 (patch) | |
tree | da947719bd5fc7aa1461e448cf29a43e089410f6 /Lib | |
parent | 61656203cdcc8698c2e485f06b929e779d51b593 (diff) | |
download | cpython-bab3e996894032e96993575182105817aedf90e0.zip cpython-bab3e996894032e96993575182105817aedf90e0.tar.gz cpython-bab3e996894032e96993575182105817aedf90e0.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/doctest.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/doctest.py b/Lib/doctest.py index a34b0a1..ff9b1a8 100644 --- a/Lib/doctest.py +++ b/Lib/doctest.py @@ -2051,7 +2051,7 @@ def testfile(filename, module_relative=True, name=None, package=None, 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 @@ def DocFileTest(path, module_relative=True, package=None, 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 DocFileTest(path, module_relative=True, package=None, 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 @@ def DocFileSuite(*paths, **kw): "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). |