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
f16d6771
Commit
f16d6771
authored
Feb 03, 2012
by
Ned Deily
Browse files
Options
Browse Files
Download
Plain Diff
Issue #13861: merge
parents
1d06daa1
34294919
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Lib/test/test_pydoc.py
Lib/test/test_pydoc.py
+2
-2
No files found.
Lib/test/test_pydoc.py
View file @
f16d6771
...
...
@@ -405,7 +405,7 @@ class PydocImportTest(unittest.TestCase):
badsyntax
=
os
.
path
.
join
(
pkgdir
,
"__init__"
)
+
os
.
extsep
+
"py"
with
open
(
badsyntax
,
'w'
)
as
f
:
f
.
write
(
"invalid python syntax = $1
\
n
"
)
result
=
run_pydoc
(
'
nothing
'
,
'-k'
,
PYTHONPATH
=
TESTFN
)
result
=
run_pydoc
(
'
zqwykjv
'
,
'-k'
,
PYTHONPATH
=
TESTFN
)
self
.
assertEqual
(
b''
,
result
)
def
test_apropos_with_unreadable_dir
(
self
):
...
...
@@ -415,7 +415,7 @@ class PydocImportTest(unittest.TestCase):
self
.
addCleanup
(
os
.
rmdir
,
self
.
unreadable_dir
)
# Note, on Windows the directory appears to be still
# readable so this is not really testing the issue there
result
=
run_pydoc
(
'
nothing
'
,
'-k'
,
PYTHONPATH
=
TESTFN
)
result
=
run_pydoc
(
'
zqwykjv
'
,
'-k'
,
PYTHONPATH
=
TESTFN
)
self
.
assertEqual
(
b''
,
result
)
...
...
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