aboutsummaryrefslogtreecommitdiff
path: root/lang/python30/files/patch-Lib-test-test_socket.py
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python30/files/patch-Lib-test-test_socket.py')
-rw-r--r--lang/python30/files/patch-Lib-test-test_socket.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/python30/files/patch-Lib-test-test_socket.py b/lang/python30/files/patch-Lib-test-test_socket.py
new file mode 100644
index 000000000000..33b9fb389f54
--- /dev/null
+++ b/lang/python30/files/patch-Lib-test-test_socket.py
@@ -0,0 +1,11 @@
+--- Lib/test/test_socket.py.orig Fri Jul 9 00:27:03 2004
++++ Lib/test/test_socket.py Fri Jul 9 00:27:11 2004
+@@ -289,7 +289,7 @@
+ # Find one service that exists, then check all the related interfaces.
+ # I've ordered this by protocols that have both a tcp and udp
+ # protocol, at least for modern Linuxes.
+- for service in ('echo', 'daytime', 'domain'):
++ for service in ('daytime', 'domain'):
+ try:
+ port = socket.getservbyname(service, 'tcp')
+ break