summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket.py
Commit message (Collapse)AuthorAgeFilesLines
* Silence sporadic failure in RecvmsgIntoSCTPStreamTest.testRecvmsgEOF (issue ↵Antoine Pitrou2012-12-181-1/+8
|\ | | | | | | #13876) - probably not Python-related.
| * Silence sporadic failure in RecvmsgIntoSCTPStreamTest.testRecvmsgEOF (issue ↵Antoine Pitrou2012-12-181-1/+8
| | | | | | | | #13876) - probably not Python-related.
* | Issue #16717: get rid of socket.error, replace with OSErrorAndrew Svetlov2012-12-181-56/+56
|/
* Silence sporadic failure in RecvmsgSCTPStreamTest.testRecvmsgEOF (issue ↵Antoine Pitrou2012-12-161-1/+8
| | | | #13876) - probably not Python-related.
* Issue #16257: make test_create_connection() handle ENETUNREACH.Trent Nelson2012-10-171-1/+20
|\
| * Issue #16257: make test_create_connection() handle ENETUNREACH.Trent Nelson2012-10-171-1/+20
| |
* | Issue #15842: the SocketIO.{readable,writable,seekable} methods now raise ↵Antoine Pitrou2012-09-141-0/+11
|\ \ | |/ | | | | | | | | ValueError when the file-like object is closed. Patch by Alessandro Moura.
| * Issue #15842: the SocketIO.{readable,writable,seekable} methods now raise ↵Antoine Pitrou2012-09-141-0/+11
| | | | | | | | | | | | ValueError when the file-like object is closed. Patch by Alessandro Moura.
* | #15284: Skip {send,recv}msg tests with disabled IPv6Ross Lagerwall2012-07-081-5/+5
| | | | | | | | Patch by Brian Brazil.
* | Errors in "client" methods in test_socket were ignored because of a bogus ↵Antoine Pitrou2012-06-231-1/+2
| | | | | | | | | | | | except clause. (this could reveal test failures!)
* | Issue #14310: Catch testing errors when trying to create unsupported socketKristján Valur Jónsson2012-04-071-1/+4
| | | | | | | | types on some platforms.
* | Issue #14310: inter-process socket duplication for windowsKristján Valur Jónsson2012-04-071-0/+105
| |
* | Issue #13872: socket.detach() now marks the socket closed (as mirrored in ↵Antoine Pitrou2012-03-311-0/+1
|\ \ | |/ | | | | | | | | the socket repr()). Patch by Matt Joiner.
| * Issue #13872: socket.detach() now marks the socket closed (as mirrored in ↵Antoine Pitrou2012-03-311-0/+1
| | | | | | | | | | | | the socket repr()). Patch by Matt Joiner.
* | Issue #12804: Fix test failures on systems without internet access.Nadeem Vawda2012-01-251-0/+6
| |
* | Remove redundant resource check in test_socket.Nadeem Vawda2012-01-251-1/+0
| |
* | Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch byCharles-François Natali2012-01-021-0/+7
|\ \ | |/ | | | | Vilmos Nebehaj.
| * Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch byCharles-François Natali2012-01-021-0/+7
| | | | | | | | Vilmos Nebehaj.
* | Issue #5424: add tests for inet_ntoa, inet_ntop, inet_aton and inet_pton.Antoine Pitrou2011-12-191-0/+65
|\ \ | |/ | | | | Patch by Philipp Hagemeister.
| * Issue #5424: add tests for inet_ntoa, inet_ntop, inet_aton and inet_pton.Antoine Pitrou2011-12-191-0/+65
| | | | | | | | Patch by Philipp Hagemeister.
* | Skip test if the path is too long for a AF_UNIX socketAntoine Pitrou2011-12-161-4/+16
| |
* | Issue #8373: The filesystem path of AF_UNIX sockets now uses the filesystemAntoine Pitrou2011-12-161-1/+62
| | | | | | | | | | encoding and the surrogateescape error handler, rather than UTF-8. Patch by David Watson.
* | #11112: merge with 3.2.Ezio Melotti2011-11-181-1/+1
|\ \ | |/
| * #11112: Fix typo in a base class in test_socket.Ezio Melotti2011-11-181-1/+1
| |
* | Fix test_socket when built whithout threads.Charles-François Natali2011-11-101-1/+4
| |
* | Issue #7777: socket: Add Reliable Datagram Sockets (PF_RDS) support.Charles-François Natali2011-11-101-0/+159
| |
* | Use InterruptedError instead of checking for EINTRAntoine Pitrou2011-10-231-1/+1
| |
* | Fix deprecation warningAntoine Pitrou2011-10-111-2/+2
| |
* | Fix the threading infrastructure in test_socket to support skippingAntoine Pitrou2011-10-101-10/+14
| | | | | | | | | | tests from the setUp() routine. This fixes a refleak in test_socket on some machines.
* | Issue #10141: socket: add SocketCAN (PF_CAN) support. Initial patch by MatthiasCharles-François Natali2011-10-061-0/+164
| | | | | | | | Fuchs, updated by Tiago Gonçalves.
* | Issue #13001: Fix test_socket.testRecvmsgTrunc failure on FreeBSD < 8, whichCharles-François Natali2011-10-031-0/+4
| | | | | | | | doesn't always set the MSG_TRUNC flag when a truncated datagram is received.
* | Fix ResourceWarnings in the TIPC socket tests.Antoine Pitrou2011-10-021-2/+7
|\ \ | |/
| * Fix ResourceWarnings in the TIPC socket tests.Antoine Pitrou2011-10-021-2/+7
| |
* | Fix a race condition in test_socket.ThreadableTest: the client is reportedCharles-François Natali2011-09-211-1/+1
|\ \ | |/ | | | | ready before having been set up.
| * Fix a race condition in test_socket.ThreadableTest: the client is reported asCharles-François Natali2011-09-211-1/+1
| | | | | | | | ready before having been set up.
* | Close issue 12958 by flagging expected failures in test_socket on Mac OS XNick Coghlan2011-09-191-0/+13
| |
* | Fix deprecation warnings in test_socket.Nadeem Vawda2011-08-221-14/+14
| |
* | Add support for the send/recvmsg API to the socket module. Patch by David ↵Nick Coghlan2011-08-221-0/+2120
| | | | | | | | Watson and Heiko Wundram. (Closes #6560)
* | Issue #12326: refactor usage of sys.platformVictor Stinner2011-08-201-5/+3
| | | | | | | | | | | | | | | | * Use str.startswith(tuple): I didn't know this Python feature, Python rocks! * Replace sometimes sys.platform.startswith('linux') with sys.platform == 'linux' * sys.platform doesn't contain the major version on Cygwin on Mac OS X (it's just 'cygwin' and 'darwin')
* | Issue #12326: don't test the major version of sys.platformVictor Stinner2011-08-171-1/+1
| | | | | | | | | | Use startswith, instead of ==, when testing sys.platform to support new platforms like Linux 3 or OpenBSD 5.
* | Issue #12196: Make test.support's requires_linux_version a decorator.Charles-François Natali2011-06-031-12/+3
| |
* | Issue #12158: Move linux_version() from test_socket to test.supportVictor Stinner2011-05-231-11/+3
| |
* | Issue #1746656: make if_nameindex(), if_indextoname() and if_nametoindex()Charles-François Natali2011-05-201-2/+18
| | | | | | | | accept and return str instead of bytes arrays. Add some more tests.
* | Issue #1746656: Add if_nameindex, if_nametoindex, if_indextonameGregory P. Smith2011-05-151-0/+10
| | | | | | | | methods to the socket module.
* | Issue #12054: use support.find_unused_port() instead of reinventing the wheelAntoine Pitrou2011-05-101-16/+2
|\ \ | |/
| * Issue #12054: use support.find_unused_port() instead of reinventing the wheelAntoine Pitrou2011-05-101-16/+2
| |
* | Issue #8498: In socket.accept(), allow to specify 0 as a backlog value inAntoine Pitrou2011-05-101-0/+7
|\ \ | |/ | | | | order to accept exactly one connection. Patch by Daniel Evers.
| * Issue #8498: In socket.accept(), allow to specify 0 as a backlog value inAntoine Pitrou2011-05-101-0/+7
| | | | | | | | order to accept exactly one connection. Patch by Daniel Evers.
* | Refactor buggy test to correctly use the msg argument of assertRaises.Ezio Melotti2011-05-081-9/+4
| |
* | #5421: merge with 3.2.Ezio Melotti2011-05-071-0/+44
|\ \ | |/