Guido van Rossum
7e57bc4a5b
Fix the test so that connect() and bind() are called with a single
...
argument: a (host, port) tuple.
Like multi-arg append(), multi-arg connect() and bind() may be ruled out!
2000-03-24 20:54:29 +00:00
Guido van Rossum
41360a4696
Mass check-in after untabifying all files that need it.
1998-03-26 19:42:58 +00:00
Guido van Rossum
a008fa52be
Fixed test for socket.error to work when it's a class exception.
1997-10-01 04:39:05 +00:00
Fred Drake
cf3527b705
socket_type --> SocketType
1997-06-03 17:58:31 +00:00
Guido van Rossum
f8580215c1
Add test for presence of socket_type.
1997-05-21 14:38:57 +00:00
Guido van Rossum
9522274205
Increase the child's sleep time to 5 for slow machines.
1997-05-16 13:40:41 +00:00
Guido van Rossum
2b4d2800af
Suppress fork part of socket test when we can't fork.
1997-05-14 21:12:51 +00:00
Guido van Rossum
f518d5e98e
Print less in test_socket.
1997-05-09 01:54:45 +00:00
Guido van Rossum
fc167c6ba2
Did nobody ever notice that "make test" didn't print the summary line
...
any more? This was because the *parent* process in test_socket.py did
an os._exit(0)! Getting rid of that now...
1997-01-29 16:03:45 +00:00
Guido van Rossum
1d1394e660
Make as sure as we can that the forked child does not return and
...
continue the tests.
1997-01-17 16:13:15 +00:00
Barry Warsaw
dbfb8d4626
Rewrite the `hostname mismatch' test as per GvR suggestion.
...
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().
1997-01-13 19:35:39 +00:00
Barry Warsaw
dce1005908
Added an os._exit(0) in the parent so we don't have two test processes
...
after test_socket.py is run!
1997-01-07 21:02:06 +00:00
Barry Warsaw
cf3d4b5123
Test of the socket module. The following functions and methods are
...
not currently tested (or even touched):
# socket.fromfd()
# sktobj.getsockopt()
# sktobj.recvfrom()
# sktobj.sendto()
# sktobj.setblocking()
# sktobj.setsockopt()
# sktobj.shutdown()
1997-01-03 20:03:32 +00:00