diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2010-10-03 14:30:11 (GMT) |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2010-10-03 14:30:11 (GMT) |
commit | c9afba853ca4884d3be01e2da6ba5e3cc61cd75c (patch) | |
tree | 78f3103e1058e908ebf0bf3ac7d408ed8f299dd2 /Lib/distutils/tests | |
parent | 866c74e3d61d1563957e3d8bfa8ef38f85515360 (diff) | |
download | cpython-c9afba853ca4884d3be01e2da6ba5e3cc61cd75c.zip cpython-c9afba853ca4884d3be01e2da6ba5e3cc61cd75c.tar.gz cpython-c9afba853ca4884d3be01e2da6ba5e3cc61cd75c.tar.bz2 |
Merged revisions 85197 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85197 | tarek.ziade | 2010-10-03 16:18:09 +0200 (Sun, 03 Oct 2010) | 1 line
Fixed #8980: distutils.command.check was failing w/ docutils installed
........
Diffstat (limited to 'Lib/distutils/tests')
-rw-r--r-- | Lib/distutils/tests/test_register.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/distutils/tests/test_register.py b/Lib/distutils/tests/test_register.py index c03ad10..7d0ac9e 100644 --- a/Lib/distutils/tests/test_register.py +++ b/Lib/distutils/tests/test_register.py @@ -224,24 +224,24 @@ class RegisterTestCase(PyPIRCCommandTestCase): cmd = self._get_cmd(metadata) cmd.ensure_finalized() cmd.strict = 1 - inputs = RawInputs('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 = RawInputs('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 |