diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-09-06 21:57:50 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-09-06 21:57:50 (GMT) |
commit | 522e7694ed5fed34b322c8882753df683f9068b2 (patch) | |
tree | 841f99ffec323c879052c56c6e02c0c6e75af1a7 /Lib | |
parent | fdf427f5847d113ced2d980b0ec3e5f85be7973c (diff) | |
download | cpython-522e7694ed5fed34b322c8882753df683f9068b2.zip cpython-522e7694ed5fed34b322c8882753df683f9068b2.tar.gz cpython-522e7694ed5fed34b322c8882753df683f9068b2.tar.bz2 |
Skip UDP testing for MacPython (for now), it hangs. This may be due to
GUSI/Threading interaction, I'm not sure, but I don't have the time to fix this right now.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_socket.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 2f2ef63..016dd3c 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -8,6 +8,7 @@ import select import time import thread, threading import Queue +import sys PORT = 50007 HOST = 'localhost' @@ -606,7 +607,8 @@ def test_main(): suite = unittest.TestSuite() suite.addTest(unittest.makeSuite(GeneralModuleTests)) suite.addTest(unittest.makeSuite(BasicTCPTest)) - suite.addTest(unittest.makeSuite(BasicUDPTest)) + if sys.platform != 'mac': + suite.addTest(unittest.makeSuite(BasicUDPTest)) suite.addTest(unittest.makeSuite(NonBlockingTCPTests)) suite.addTest(unittest.makeSuite(FileObjectClassTestCase)) suite.addTest(unittest.makeSuite(UnbufferedFileObjectClassTestCase)) |