[Python-checkins] CVS: python/dist/src/Lib/test test_poll.py,1.1,1.2
Tim Peters
python-dev@python.org
Sat, 26 Aug 2000 01:24:21 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory slayer.i.sourceforge.net:/tmp/cvs-serv8037/python/dist/src/lib/test
Modified Files:
test_poll.py
Log Message:
Another new test using "from test.test_support import ...", causing
subtle breakage on Windows (the test is skipped here, but the TestSkipped
exception wasn't recognized as such, because of duplicate copies of
test_support got loaded; so the test looks like a failure under Windows
instead of a skip).
Repaired the import, but
THIS TEST *WILL* FAIL ON OTHER SYSTEMS NOW!
Again due to the duplicate copies of test_support, the checked-in
"expected output" file actually contains verbose-mode output. I can't
generate the *correct* non-verbose output on my system. So, somebody
please do that.
Index: test_poll.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_poll.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** test_poll.py 2000/08/25 01:18:45 1.1
--- test_poll.py 2000/08/26 08:24:18 1.2
***************
*** 1,7 ****
-
# Test case for the os.poll() function
import sys, os, select, random
! from test.test_support import verbose, TestSkipped, TESTFN
try:
--- 1,6 ----
# Test case for the os.poll() function
import sys, os, select, random
! from test_support import verbose, TestSkipped, TESTFN
try:
***************
*** 169,171 ****
test_poll1()
test_poll2()
-
--- 168,169 ----