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
45141d00
Commit
45141d00
authored
May 12, 2008
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#2766: remove code without effect.
parent
21f990cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
Lib/doctest.py
Lib/doctest.py
+0
-2
No files found.
Lib/doctest.py
View file @
45141d00
...
...
@@ -2268,8 +2268,6 @@ def DocTestSuite(module=None, globs=None, extraglobs=None, test_finder=None,
module
=
_normalize_module
(
module
)
tests
=
test_finder
.
find
(
module
,
globs
=
globs
,
extraglobs
=
extraglobs
)
if
globs
is
None
:
globs
=
module
.
__dict__
if
not
tests
:
# Why do we want to do this? Because it reveals a bug that might
# otherwise be hidden.
...
...
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