]> granicus.if.org Git - python/commit
The "more" cmd varies across Windows flavors, sometimes adding stray
authorTim Peters <tim.peters@gmail.com>
Fri, 1 Sep 2000 20:38:55 +0000 (20:38 +0000)
committerTim Peters <tim.peters@gmail.com>
Fri, 1 Sep 2000 20:38:55 +0000 (20:38 +0000)
commit3620857d60e000300d5fa475fa9404bc535b536f
treee444cdfcc631ba5f37883a183781070791a1e6f1
parentf4a090d57953e69a2bb79230751e25690915d2df
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.
Lib/popen2.py
Lib/test/test_popen2.py