commit | 3620857d60e000300d5fa475fa9404bc535b536f | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Fri Sep 01 20:38:55 2000 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Fri Sep 01 20:38:55 2000 +0000 |
tree | e444cdfcc631ba5f37883a183781070791a1e6f1 | |
parent | f4a090d57953e69a2bb79230751e25690915d2df [diff] |
The "more" cmd varies across Windows flavors, sometimes adding stray newlines at the start or end. Fiddle test_popen2 and popen2._test() to tolerate this. Also change all "assert"s in these tests to raise explicit exceptions, so that python -O doesn't render them useless. Also, in case of error, make the msg display the reprs of what we wrote and what we read, so we can tell exactly why it's failing.