[issue13205] NameErrors in generated setup.py (codecs, split_multiline)

Éric Araujo report at bugs.python.org
Fri Oct 21 16:01:39 CEST 2011


Éric Araujo <merwok at netwok.org> added the comment:

As you can see in my commit, I made more changes to the code and simplified the tests.  subprocess is definitely the way to test script functionality, it’s much cleaner than monkey-patching sys.argv; we even have higher-level helpers to do that in test.script_helper.

(BTW, the comment I made about mocking user input in my first reply makes no sense: I was confusing pysetup create and pysetup generate-setup :)  I also mistakenly talked about test_run when the correct file was test_util.)

----------
resolution:  -> fixed
stage: test needed -> committed/rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list