[issue20900] distutils register command should print text, not bytes repr

Berker Peksag report at bugs.python.org
Fri Jun 10 14:35:59 EDT 2016


Berker Peksag added the comment:

issue20900.patch looks good to me. We are already testing output of "python -setup.py upload --show-response" in Lib/distutils/tests/test_upload.py so I removed test_show_reponse and tweaked test_upload to test the whole line:

    -        self.assertIn('xyzzy\n', results[-1])
    +        self.assertEqual(results[-1], 75 * '-' + '\nxyzzy\n' + 75 * '-')

----------
nosy: +berker.peksag
versions: +Python 3.5, Python 3.6 -Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20900>
_______________________________________


More information about the Python-bugs-list mailing list