summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_poll.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2000-08-26 08:24:18 (GMT)
committerTim Peters <tim.peters@gmail.com>2000-08-26 08:24:18 (GMT)
commit43dee06471e9ca49689a6ffeadfacb2aa4e900e0 (patch)
treef9a0ae74f22aaa4311fab87fd6e7a9e16718a17c /Lib/test/test_poll.py
parent6d7c442e03b3e850ef0af5a6ee2a4e5947dfb70a (diff)
downloadcpython-43dee06471e9ca49689a6ffeadfacb2aa4e900e0.zip
cpython-43dee06471e9ca49689a6ffeadfacb2aa4e900e0.tar.gz
cpython-43dee06471e9ca49689a6ffeadfacb2aa4e900e0.tar.bz2
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.
Diffstat (limited to 'Lib/test/test_poll.py')
-rw-r--r--Lib/test/test_poll.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_poll.py b/Lib/test/test_poll.py
index a06f56b..543dc6b 100644
--- a/Lib/test/test_poll.py
+++ b/Lib/test/test_poll.py
@@ -1,8 +1,7 @@
-
# Test case for the os.poll() function
import sys, os, select, random
-from test.test_support import verbose, TestSkipped, TESTFN
+from test_support import verbose, TestSkipped, TESTFN
try:
select.poll
@@ -168,4 +167,3 @@ def test_poll2():
test_poll1()
test_poll2()
-