Should raise TestSkipped, not ImportError, when deciding to skip the

test.
This commit is contained in:
Guido van Rossum 2001-07-13 17:27:57 +00:00
parent 9a8c8e270b
commit 0960015056
1 changed files with 2 additions and 2 deletions

View File

@ -3,9 +3,9 @@
# XXX This must be run manually -- somehow the I/O redirection of the
# regression test breaks the test.
from test_support import verbose, verify, TESTFN
from test_support import verbose, verify, TESTFN, TestSkipped
if not verbose:
raise ImportError, "test_socketserver can only be run manually"
raise TestSkipped, "test_socketserver can only be run manually"
from SocketServer import *
import socket