diff options
author | Guido van Rossum <guido@python.org> | 2001-07-13 17:27:57 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-07-13 17:27:57 (GMT) |
commit | 096001505617555992ac3a06450152f4b0e7a36c (patch) | |
tree | f0da3fe2bd8010404c4f0cd8fe1613aebc9f0c68 /Lib/test/test_socketserver.py | |
parent | 9a8c8e270bd2293a21160872d792dcc6a3ddb46b (diff) | |
download | cpython-096001505617555992ac3a06450152f4b0e7a36c.zip cpython-096001505617555992ac3a06450152f4b0e7a36c.tar.gz cpython-096001505617555992ac3a06450152f4b0e7a36c.tar.bz2 |
Should raise TestSkipped, not ImportError, when deciding to skip the
test.
Diffstat (limited to 'Lib/test/test_socketserver.py')
-rw-r--r-- | Lib/test/test_socketserver.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py index b2d9661..398b077 100644 --- a/Lib/test/test_socketserver.py +++ b/Lib/test/test_socketserver.py @@ -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 |