Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Lose the message on assertEqual calls -- they actually hide | Guido van Rossum | 2002-06-12 | 1 | -18/+15 | |
| | | | | information on what went wrong. | |||||
* | New test suite for the socket module by Michael Gilfix. | Guido van Rossum | 2002-06-12 | 1 | -165/+472 | |
| | | | | Changed test_timeout.py to conform to the guidelines in Lib/test/README. | |||||
* | SF patch 555085 (timeout socket implementation) by Michael Gilfix. | Guido van Rossum | 2002-06-06 | 1 | -10/+57 | |
| | | | | | | | | | | | | | I've made considerable changes to Michael's code, specifically to use the select() system call directly and to store the timeout as a C double instead of a Python object; internally, -1.0 (or anything negative) represents the None from the API. I'm not 100% sure that all corner cases are covered correctly, so please keep an eye on this. Next I'm going to try it Windows before Tim complains. No way is this a bugfix candidate. :-) | |||||
* | Refcounting isn't available in Jython. Putting the jython test around it. | Finn Bock | 2001-12-09 | 1 | -8/+9 | |
| | | | | This closes patch "[ #490414 ] Jython and test_socket". | |||||
* | getnameinfo() appears to raise socket.error instead of | Barry Warsaw | 2001-11-09 | 1 | -1/+1 | |
| | | | | | socket.gaierror. :( This allows test_socket to pass on a RH6.1-ish Linux system. | |||||
* | Correct getnameinfo refcounting and tuple parsing. Fixes #476648. | Martin v. Löwis | 2001-11-02 | 1 | -0/+14 | |
| | ||||||
* | Test sendall(). | Guido van Rossum | 2001-10-29 | 1 | -1/+1 | |
| | ||||||
* | Make socket.getservbyname test optional on socket module having that | Barry Warsaw | 2001-03-23 | 1 | -5/+6 | |
| | | | | | | attribute. Jython does not have this function. Closes SF patch #403667. | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -2/+1 | |
| | ||||||
* | a bold attempt to fix things broken by MAL's verify patch: import | Fredrik Lundh | 2001-01-17 | 1 | -1/+1 | |
| | | | | 'verify' iff it's used by a test module... | |||||
* | This patch removes all uses of "assert" in the regression test suite | Marc-André Lemburg | 2001-01-17 | 1 | -1/+1 | |
| | | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum. | |||||
* | Update the code to better reflect recommended style: | Fred Drake | 2000-12-12 | 1 | -1/+1 | |
| | | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects. | |||||
* | Skip Montanaro: modify test_socket.py to listen/connect using loopback addr | Guido van Rossum | 2000-06-29 | 1 | -2/+2 | |
| | ||||||
* | Fix the test so that connect() and bind() are called with a single | Guido van Rossum | 2000-03-24 | 1 | -2/+2 | |
| | | | | | | argument: a (host, port) tuple. Like multi-arg append(), multi-arg connect() and bind() may be ruled out! | |||||
* | Mass check-in after untabifying all files that need it. | Guido van Rossum | 1998-03-26 | 1 | -87/+87 | |
| | ||||||
* | Fixed test for socket.error to work when it's a class exception. | Guido van Rossum | 1997-10-01 | 1 | -1/+2 | |
| | ||||||
* | socket_type --> SocketType | Fred Drake | 1997-06-03 | 1 | -1/+1 | |
| | ||||||
* | Add test for presence of socket_type. | Guido van Rossum | 1997-05-21 | 1 | -0/+1 | |
| | ||||||
* | Increase the child's sleep time to 5 for slow machines. | Guido van Rossum | 1997-05-16 | 1 | -1/+1 | |
| | ||||||
* | Suppress fork part of socket test when we can't fork. | Guido van Rossum | 1997-05-14 | 1 | -27/+29 | |
| | ||||||
* | Print less in test_socket. | Guido van Rossum | 1997-05-09 | 1 | -6/+6 | |
| | ||||||
* | Did nobody ever notice that "make test" didn't print the summary line | Guido van Rossum | 1997-01-29 | 1 | -1/+0 | |
| | | | | | any more? This was because the *parent* process in test_socket.py did an os._exit(0)! Getting rid of that now... | |||||
* | Make as sure as we can that the forked child does not return and | Guido van Rossum | 1997-01-17 | 1 | -12/+15 | |
| | | | | continue the tests. | |||||
* | Rewrite the `hostname mismatch' test as per GvR suggestion. | Barry Warsaw | 1997-01-13 | 1 | -2/+8 | |
| | | | | | | | Don't assume gethostbyaddr()'s primary hostname is the same as gethostname(), or even that gethostname() can be found in the list of hosts returned by gethostbyaddr(). We do test for at least one FQDN in gethostbyaddr(). | |||||
* | Added an os._exit(0) in the parent so we don't have two test processes | Barry Warsaw | 1997-01-07 | 1 | -0/+3 | |
| | | | | after test_socket.py is run! | |||||
* | Test of the socket module. The following functions and methods are | Barry Warsaw | 1997-01-03 | 1 | -0/+131 | |
not currently tested (or even touched): # socket.fromfd() # sktobj.getsockopt() # sktobj.recvfrom() # sktobj.sendto() # sktobj.setblocking() # sktobj.setsockopt() # sktobj.shutdown() |