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
f0efea08
Commit
f0efea08
authored
Mar 18, 2013
by
Andrew Svetlov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #17463: Fix test discovery for test_pdb.py
parent
f3a1b6ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
Lib/test/test_pdb.py
Lib/test/test_pdb.py
+5
-4
No files found.
Lib/test/test_pdb.py
View file @
f0efea08
# A test suite for pdb; not very comprehensive at the moment.
import
doctest
import
imp
import
pdb
import
sys
...
...
@@ -701,11 +702,11 @@ class PdbTestCase(unittest.TestCase):
support
.
unlink
(
support
.
TESTFN
)
def
test_main
(
):
def
load_tests
(
*
args
):
from
test
import
test_pdb
su
pport
.
run_doctest
(
test_pdb
,
verbosity
=
True
)
support
.
run_unittest
(
PdbTestCase
)
su
ites
=
[
unittest
.
makeSuite
(
PdbTestCase
),
doctest
.
DocTestSuite
(
test_pdb
)]
return
unittest
.
TestSuite
(
suites
)
if
__name__
==
'__main__'
:
test_
main
()
unittest
.
main
()
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