summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socketserver.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixes for AF_UNIX support on OS/2:Andrew MacIntyre2004-04-111-4/+19
| | | | | | | | | - return the full size of the sockaddr_un structure, without which bind() fails with EINVAL; - set test_socketserver to use a socket name that meets the form required by the underlying implementation; - don't bother exercising the forking AF_UNIX tests on EMX - its fork() can't handle the stress.
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-1/+1
| | | | From SF patch #852334.
* EMX fork() emulation not good enough to cope with test_socketserverAndrew MacIntyre2003-01-021-2/+2
|
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-2/+2
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* Use sendall() in the stream test instead of send().Guido van Rossum2001-10-291-1/+1
|
* Make test_socketserver require the network resource.Tim Peters2001-09-181-0/+2
| | | | Add it back to the list of tests we expect to skip on Windows.
* Rework akin to test_threaded_import, so that this can run under regrtest.Tim Peters2001-09-171-7/+8
| | | | | Also raise TestSkipped (intead of appearing to fail) if the import lock is held.
* Should raise TestSkipped, not ImportError, when deciding to skip theGuido van Rossum2001-07-131-2/+2
| | | | test.
* Ported to Windows:Guido van Rossum2001-07-101-5/+6
| | | | | | - Set the host to "localhost" instead of "". - Skip the AF_UNIX tests when socket.AF_UNIX is not defined.
* A test suite for SocketServer.py that exposes the various bugs justGuido van Rossum2001-07-101-0/+161
fixed. Regrettably, this must be run manually -- somehow the I/O redirection of the regression test breaks the test. When run under the regression test, this raises ImportError with a warning to that effect. Bugfix candidate!