summaryrefslogtreecommitdiff
path: root/Lib/test/test_socket.py
AgeCommit message (Expand)AuthorLines
2004-08-18Add support for FreeBSD 6.Hye-Shik Chang-1/+1
2004-08-16Being bsd-based, darwin/macosx has the same limitation w.r.t. the "echo"Skip Montanaro-1/+1
2004-08-09Whitespace normalization.Tim Peters-1/+1
2004-08-09Patch #1003700: Add socketpair function to socket module.Dave Cole-0/+43
2004-07-12FreeBSD's services file contains an additional echo service entry, withAndrew MacIntyre-1/+7
2004-07-06testGetServBy(): Use services that should be available both on *nix andBarry Warsaw-1/+1
2004-06-28Added socket.getservbyport(), and make its second argument and that ofBarry Warsaw-10/+22
2004-05-31Add weakref support to sockets and re pattern objects.Raymond Hettinger-0/+14
2004-03-28SF bug 924242: socket._fileobject._getclosed() returns wrong valueTim Peters-0/+8
2004-02-10Fix indentation error in testGetServByName and rewrite loop to avoid clumsySkip Montanaro-5/+2
2003-06-29SF patch #760257: add socket.timeout exceptionRaymond Hettinger-2/+57
2003-05-12Whitespace normalization.Tim Peters-3/+3
2003-05-01Combine the functionality of test_support.run_unittest()Walter Dörwald-10/+11
2003-04-25Skip testing inet_ntop() an inet_pton() if they aren't defined.Guido van Rossum-0/+8
2003-04-25Patch by Jp Calderone:Guido van Rossum-0/+59
2002-12-26Also skip testHostnameRes() if gethostbyaddr() raises an exception.Guido van Rossum-1/+5
2002-12-26Skip testHostnameRes() if gethostbyname() raises an exception.Guido van Rossum-1/+5
2002-09-16Since it tests both ntohl and ntohs, the test should not be calledGuido van Rossum-1/+1
2002-09-14Maybe this fixes test_socket on 64-bit Linux.Guido van Rossum-8/+12
2002-09-06Skip UDP testing for MacPython (for now), it hangs. This may be due toJack Jansen-1/+3
2002-08-12Don't use hex constants representing negative numbers.Guido van Rossum-1/+1
2002-08-08testSendAll(): loop until all data is read; this was necessary atGuido van Rossum-3/+3
2002-08-08Whitespace normalization.Tim Peters-1/+1
2002-08-08Replace docstrings on test functions witrh comments -- then unittestGuido van Rossum-31/+50
2002-08-07Tighten the unbuffered readline test to distinguish between the two lines.Guido van Rossum-4/+4
2002-08-07Oops. I accidentally commented out some tests.Guido van Rossum-4/+4
2002-08-07"Unbuffered" mode of class _fileobject wasn't actually unbuffered,Guido van Rossum-6/+35
2002-08-02testGetServByName shouldn't check for getservbyname - the socket moduleSkip Montanaro-18/+17
2002-08-02modify testGetServByName so it tries a few different protocols. In this daySkip Montanaro-5/+17
2002-07-31Enable test_socket again, if only to prevent mistakes like JeremyGuido van Rossum-2/+2
2002-07-31Repair testNtoH for large long arguments.Jeremy Hylton-9/+8
2002-07-25Extended socket.htonl and ntohl to accept longs.Jeremy Hylton-0/+11
2002-07-25Remove test that was none too picky about whether attributes exist.Jeremy Hylton-41/+0
2002-07-23Get rid of relative imports in all unittests. Now anything thatBarry Warsaw-1/+1
2002-07-19Remove a few lines that aren't used and cause problems on platformsGuido van Rossum-6/+0
2002-07-19Add test for previous core dump when sending on closed socket withGuido van Rossum-1/+10
2002-07-18Add default timeout functionality. This adds setdefaulttimeout() andGuido van Rossum-0/+30
2002-06-20I get failures half of the time that I run this, so I'll disableGuido van Rossum-2/+2
2002-06-18Michael fixed the race conditions and removed the sleeps.Guido van Rossum-9/+55
2002-06-13Temporarily disable the timeout and socket tests.Guido van Rossum-12/+12
2002-06-13Comment out testHostnameRes() -- it depends on a correctly workingGuido van Rossum-10/+10
2002-06-13Fix non-blocking connect() for Windows. Refactored the codeGuido van Rossum-12/+2
2002-06-13Major overhaul of timeout sockets:Guido van Rossum-1/+4
2002-06-13Fix a typo.Guido van Rossum-1/+2
2002-06-12Remove some overly complicated ways to concatenate and repeat stringsGuido van Rossum-6/+7
2002-06-12Don't test for Java, test for sys.getrefcount.Guido van Rossum-2/+2
2002-06-12Some provisional changes to get more tests to run on Windows (I hope).Guido van Rossum-6/+8
2002-06-12Argh. Typo. :-(Guido van Rossum-1/+1
2002-06-12Allow absent fromfd(), for Windows.Guido van Rossum-0/+2
2002-06-12testSetSockOpt() should not require the reuse flag to be 1 -- anyGuido van Rossum-2/+2