Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
bab3e996
Commit
bab3e996
authored
Sep 20, 2004
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace normalization.
parent
61656203
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Lib/doctest.py
Lib/doctest.py
+4
-4
No files found.
Lib/doctest.py
View file @
bab3e996
...
...
@@ -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).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment