summaryrefslogtreecommitdiffstats
path: root/Lib/test/output/test_popen2
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-07-11 15:15:31 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2000-07-11 15:15:31 (GMT)
commitfff9e2094393dffe89720d59aba9427ca3b18d0b (patch)
tree6e91a3a2c3304f0a70b361e5a6f85bc14987e1dd /Lib/test/output/test_popen2
parentb35de5b78a3c4c72048cfd2d53834ff0010593d5 (diff)
downloadcpython-fff9e2094393dffe89720d59aba9427ca3b18d0b.zip
cpython-fff9e2094393dffe89720d59aba9427ca3b18d0b.tar.gz
cpython-fff9e2094393dffe89720d59aba9427ca3b18d0b.tar.bz2
fix bug #42 reported by Andrew Dalke
The Compare close contains a close method that checks to see if there is any unconsumed data in the Compare instance; i.e. if the canonical output file contains more data than was produced by the current test run. This method was never called, allowing differences to go undetected. Fix is to call close after the test is run (after __import__) output/test_long and output/test_popen2 needed trivial changes output/test_select contained lots of text, but test_select.py produced no output
Diffstat (limited to 'Lib/test/output/test_popen2')
-rw-r--r--Lib/test/output/test_popen21
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/output/test_popen2 b/Lib/test/output/test_popen2
index e13034d..1fadf1b 100644
--- a/Lib/test/output/test_popen2
+++ b/Lib/test/output/test_popen2
@@ -2,4 +2,3 @@ test_popen2
testing popen2...
testing popen3...
All OK
-