Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
2b3ce3ba3f6f3fa688cb9e38de640e8cb15c4095
/
Lib
/
test
/
test_socket.py
9647b52
Also skip testHostnameRes() if gethostbyaddr() raises an exception.
by Guido van Rossum
· 22 years ago
71e0294
Skip testHostnameRes() if gethostbyname() raises an exception.
by Guido van Rossum
· 22 years ago
c0a0e08
Since it tests both ntohl and ntohs, the test should not be called
by Guido van Rossum
· 23 years ago
a2627af
Maybe this fixes test_socket on 64-bit Linux.
by Guido van Rossum
· 23 years ago
522e769
Skip UDP testing for MacPython (for now), it hangs. This may be due to
by Jack Jansen
· 23 years ago
558fc97
Don't use hex constants representing negative numbers.
by Guido van Rossum
· 23 years ago
e531e29
testSendAll(): loop until all data is read; this was necessary at
by Guido van Rossum
· 23 years ago
469cdad
Whitespace normalization.
by Tim Peters
· 23 years ago
8c94383
Replace docstrings on test functions witrh comments -- then unittest
by Guido van Rossum
· 23 years ago
10e3f41
Tighten the unbuffered readline test to distinguish between the two lines.
by Guido van Rossum
· 23 years ago
29bf915
Oops. I accidentally commented out some tests.
by Guido van Rossum
· 23 years ago
e9f6614
"Unbuffered" mode of class _fileobject wasn't actually unbuffered,
by Guido van Rossum
· 23 years ago
f443330
testGetServByName shouldn't check for getservbyname - the socket module
by Skip Montanaro
· 23 years ago
d3c884d
modify testGetServByName so it tries a few different protocols. In this day
by Skip Montanaro
· 23 years ago
b995eb7
Enable test_socket again, if only to prevent mistakes like Jeremy
by Guido van Rossum
· 23 years ago
cbd5b89
Repair testNtoH for large long arguments.
by Jeremy Hylton
· 23 years ago
c075e19
Extended socket.htonl and ntohl to accept longs.
by Jeremy Hylton
· 23 years ago
b8a690d
Remove test that was none too picky about whether attributes exist.
by Jeremy Hylton
· 23 years ago
04f357c
Get rid of relative imports in all unittests. Now anything that
by Barry Warsaw
· 23 years ago
246a58a
Remove a few lines that aren't used and cause problems on platforms
by Guido van Rossum
· 23 years ago
b6cc7d2
Add test for previous core dump when sending on closed socket with timeout.
by Guido van Rossum
· 23 years ago
9d0c8ce
Add default timeout functionality. This adds setdefaulttimeout() and
by Guido van Rossum
· 23 years ago
3875e90
I get failures half of the time that I run this, so I'll disable
by Guido van Rossum
· 23 years ago
83ccb4e
Michael fixed the race conditions and removed the sleeps.
by Guido van Rossum
· 23 years ago
654c11e
Temporarily disable the timeout and socket tests.
by Guido van Rossum
· 23 years ago
597257b
Comment out testHostnameRes() -- it depends on a correctly working
by Guido van Rossum
· 23 years ago
7b8bac1
Fix non-blocking connect() for Windows. Refactored the code
by Guido van Rossum
· 23 years ago
11ba094
Major overhaul of timeout sockets:
by Guido van Rossum
· 23 years ago
dfad1a9
Fix a typo.
by Guido van Rossum
· 23 years ago
ab65996
Remove some overly complicated ways to concatenate and repeat strings
by Guido van Rossum
· 23 years ago
284a2cf
Don't test for Java, test for sys.getrefcount.
by Guido van Rossum
· 23 years ago
1c93801
Some provisional changes to get more tests to run on Windows (I hope).
by Guido van Rossum
· 23 years ago
8e95ca8
Argh. Typo. :-(
by Guido van Rossum
· 23 years ago
6fb3d5e
Allow absent fromfd(), for Windows.
by Guido van Rossum
· 23 years ago
733632a
testSetSockOpt() should not require the reuse flag to be 1 -- any
by Guido van Rossum
· 23 years ago
7648968
Lose the message on assertEqual calls -- they actually hide
by Guido van Rossum
· 23 years ago
24e4af8
New test suite for the socket module by Michael Gilfix.
by Guido van Rossum
· 23 years ago
67f7a38
SF patch 555085 (timeout socket implementation) by Michael Gilfix.
by Guido van Rossum
· 23 years ago
ada1983
Refcounting isn't available in Jython. Putting the jython test around it.
by Finn Bock
· 24 years ago
4279346
getnameinfo() appears to raise socket.error instead of
by Barry Warsaw
· 24 years ago
06b1d21
Correct getnameinfo refcounting and tuple parsing. Fixes #476648.
by Martin v. Löwis
· 24 years ago
cb65688
Test sendall().
by Guido van Rossum
· 24 years ago
6870bba
Make socket.getservbyname test optional on socket module having that
by Barry Warsaw
· 24 years ago
83ff749
String method conversion.
by Eric S. Raymond
· 24 years ago
f785042
a bold attempt to fix things broken by MAL's verify patch: import
by Fredrik Lundh
· 24 years ago
3661908
This patch removes all uses of "assert" in the regression test suite
by Marc-André Lemburg
· 24 years ago
132dce2
Update the code to better reflect recommended style:
by Fred Drake
· 25 years ago
1bfdc78
Skip Montanaro: modify test_socket.py to listen/connect using loopback addr
by Guido van Rossum
· 25 years ago
7e57bc4
Fix the test so that connect() and bind() are called with a single
by Guido van Rossum
· 25 years ago
41360a4
Mass check-in after untabifying all files that need it.
by Guido van Rossum
· 27 years ago
a008fa5
Fixed test for socket.error to work when it's a class exception.
by Guido van Rossum
· 28 years ago
cf3527b
socket_type --> SocketType
by Fred Drake
· 28 years ago
f858021
Add test for presence of socket_type.
by Guido van Rossum
· 28 years ago
9522274
Increase the child's sleep time to 5 for slow machines.
by Guido van Rossum
· 28 years ago
2b4d280
Suppress fork part of socket test when we can't fork.
by Guido van Rossum
· 28 years ago
f518d5e
Print less in test_socket.
by Guido van Rossum
· 28 years ago
fc167c6
Did nobody ever notice that "make test" didn't print the summary line
by Guido van Rossum
· 28 years ago
1d1394e
Make as sure as we can that the forked child does not return and
by Guido van Rossum
· 28 years ago
dbfb8d4
Rewrite the `hostname mismatch' test as per GvR suggestion.
by Barry Warsaw
· 28 years ago
dce1005
Added an os._exit(0) in the parent so we don't have two test processes
by Barry Warsaw
· 28 years ago
cf3d4b5
Test of the socket module. The following functions and methods are
by Barry Warsaw
· 28 years ago