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
4bcceef5
Commit
4bcceef5
authored
Oct 03, 2010
by
Tarek Ziadé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed #8980: distutils.command.check was failing w/ docutils installed
parent
84060b81
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
Lib/distutils/command/check.py
Lib/distutils/command/check.py
+1
-1
Lib/distutils/tests/test_register.py
Lib/distutils/tests/test_register.py
+6
-6
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/distutils/command/check.py
View file @
4bcceef5
...
...
@@ -13,7 +13,7 @@ try:
from
docutils.parsers.rst
import
Parser
from
docutils
import
frontend
from
docutils
import
nodes
from
StringIO
import
StringIO
from
io
import
StringIO
class
SilentReporter
(
Reporter
):
...
...
Lib/distutils/tests/test_register.py
View file @
4bcceef5
...
...
@@ -224,24 +224,24 @@ class RegisterTestCase(PyPIRCCommandTestCase):
cmd
=
self
.
_get_cmd
(
metadata
)
cmd
.
ensure_finalized
()
cmd
.
strict
=
1
inputs
=
Raw
Inputs
(
'1'
,
'tarek'
,
'y'
)
register_module
.
raw_
input
=
inputs
.
__call__
inputs
=
Inputs
(
'1'
,
'tarek'
,
'y'
)
register_module
.
input
=
inputs
.
__call__
# let's run the command
try
:
cmd
.
run
()
finally
:
del
register_module
.
raw_
input
del
register_module
.
input
# strict is not by default
cmd
=
self
.
_get_cmd
()
cmd
.
ensure_finalized
()
inputs
=
Raw
Inputs
(
'1'
,
'tarek'
,
'y'
)
register_module
.
raw_
input
=
inputs
.
__call__
inputs
=
Inputs
(
'1'
,
'tarek'
,
'y'
)
register_module
.
input
=
inputs
.
__call__
# let's run the command
try
:
cmd
.
run
()
finally
:
del
register_module
.
raw_
input
del
register_module
.
input
def
test_check_metadata_deprecated
(
self
):
# makes sure make_metadata is deprecated
...
...
Misc/NEWS
View file @
4bcceef5
...
...
@@ -88,6 +88,9 @@ Core and Builtins
Library
-------
- Issue #8980: Fixed a failure in distutils.command check that was shadowed
by an environment that does not have docutils. Patch by Arferver.
- Issue #1050268: parseaddr now correctly quotes double quote and backslash
characters that appear inside quoted strings in email addresses.
...
...
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