summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Issue #16997: unittest.TestCase now provides a subTest() context manager to ↵Antoine Pitrou2013-03-201-4/+0
| | | | | | | | | | | | procedurally generate, in an easy way, small test instances.
* | | Merge 3.3, issue #17047: remove doubled words found in 2.7 toTerry Jan Reedy2013-03-111-1/+1
|\ \ \ | |/ / | | | | | | 3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
| * | Merge 3.2, issue #17047: remove doubled words found in 2.7 toTerry Jan Reedy2013-03-111-1/+1
| |\ \ | | |/ | | | | | | 3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
| | * Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,Terry Jan Reedy2013-03-111-1/+1
| | | | | | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett.
| * | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-191-4/+22
| |\ \ | | |/ | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
| | * Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-191-4/+23
| | | | | | | | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
* | | Issue #15359: Add CAN_BCM protocol support to the socket module. Patch by BrianCharles-François Natali2013-02-051-11/+95
| | | | | | | | | | | | Thorne.
* | | Fix test_socket broken in previous commit (changeset 13e2e44db99d).Serhiy Storchaka2013-01-151-5/+7
| | | | | | | | | | | | Added new checks for socket.setblocking().
* | | Issue #15989: Fix several occurrences of integer overflowSerhiy Storchaka2013-01-141-3/+19
| | | | | | | | | | | | when result of PyLong_AsLong() narrowed to int without checks.
* | | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-1/+1
| | |
* | | 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.