summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix the test so that connect() and bind() are called with a singleGuido van Rossum2000-03-241-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 Rossum1998-03-261-87/+87
|
* Fixed test for socket.error to work when it's a class exception.Guido van Rossum1997-10-011-1/+2
|
* socket_type --> SocketTypeFred Drake1997-06-031-1/+1
|
* Add test for presence of socket_type.Guido van Rossum1997-05-211-0/+1
|
* Increase the child's sleep time to 5 for slow machines.Guido van Rossum1997-05-161-1/+1
|
* Suppress fork part of socket test when we can't fork.Guido van Rossum1997-05-141-27/+29
|
* Print less in test_socket.Guido van Rossum1997-05-091-6/+6
|
* Did nobody ever notice that "make test" didn't print the summary lineGuido van Rossum1997-01-291-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 andGuido van Rossum1997-01-171-12/+15
| | | | continue the tests.
* Rewrite the `hostname mismatch' test as per GvR suggestion.Barry Warsaw1997-01-131-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 processesBarry Warsaw1997-01-071-0/+3
| | | | after test_socket.py is run!
* Test of the socket module. The following functions and methods areBarry Warsaw1997-01-031-0/+131
not currently tested (or even touched): # socket.fromfd() # sktobj.getsockopt() # sktobj.recvfrom() # sktobj.sendto() # sktobj.setblocking() # sktobj.setsockopt() # sktobj.shutdown()