From fff9e2094393dffe89720d59aba9427ca3b18d0b Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Tue, 11 Jul 2000 15:15:31 +0000 Subject: 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 --- Lib/test/test_select.py | 1 - 1 file changed, 1 deletion(-) (limited to 'Lib/test/test_select.py') diff --git a/Lib/test/test_select.py b/Lib/test/test_select.py index 60de3600bc..1a7bf4b862 100644 --- a/Lib/test/test_select.py +++ b/Lib/test/test_select.py @@ -45,7 +45,6 @@ def test(): if verbose: print 'timeout =', tout rfd, wfd, xfd = select.select([p], [], [], tout) -## print rfd, wfd, xfd if (rfd, wfd, xfd) == ([], [], []): continue if (rfd, wfd, xfd) == ([p], [], []): -- cgit v1.2.1