]> granicus.if.org Git - python/commit
Clean up mocking of stdout and stdin in packaging tests.
authorÉric Araujo <merwok@netwok.org>
Sun, 6 Nov 2011 10:32:47 +0000 (11:32 +0100)
committerÉric Araujo <merwok@netwok.org>
Sun, 6 Nov 2011 10:32:47 +0000 (11:32 +0100)
commitfad46e19b4e6b2173b84e6216465e6fe5824ba2a
tree5fc4bb7de10764e1f7276072681892d65ea6d9e1
parent261ccdce4825535d4f6ea4bf09e9394bb751df20
Clean up mocking of stdout and stdin in packaging tests.

Running with regrtest does not show spurious output or unrestored
sys.std* objects; sometimes running with make test is different, I’ll
watch the buildbots.

In addition, update the create module to use logging.
Lib/packaging/create.py
Lib/packaging/tests/support.py
Lib/packaging/tests/test_command_build_ext.py
Lib/packaging/tests/test_command_build_py.py
Lib/packaging/tests/test_command_register.py
Lib/packaging/tests/test_config.py
Lib/packaging/tests/test_create.py
Lib/packaging/tests/test_run.py
Lib/packaging/tests/test_uninstall.py
Lib/packaging/tests/test_util.py