twisted/conch/test/test_recvline.py stdio loopback tests set up child environment in a problematic way
[email protected] Sun, 10 Jan 2010 17:00:02 -0000
| Newsgroups | gmane.comp.python.twisted.bugs |
|---|---|
| Message-ID | <[email protected]> |
New submission from exarkun <[email protected]>: `_StdioMixin.setUp` launches a child process for the tests to interact with. It creates the child with a very minimal environment, though. This causes issues for !PyPy, which relies on ctypes to provide certain modules; ctypes, in turn, requires that `objdump` be on the `PATH` and fails grossly when it is not. More generally, it's a bit optimistic to expect that semi-arbitrary programs (eg !CPython or !PyPy) beyond our control will work properly with such a minimal environment. Reproducing the entire parent environment is probably a better idea. ---------- Type : defect Component: conch Keywords : Priority : normal Nosy : ---------- http://twistedmatrix.com/trac/ticket/4203