summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-09 01:54:45 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-09 01:54:45 (GMT)
commitf518d5e98e73fcd6f212e3770e61f0b7eb752dee (patch)
tree6267215358d5a0c88ca392e6f1889aaca3f44ba5
parent0add15f6a5daceda1972746d2263aba8525c34c4 (diff)
downloadcpython-f518d5e98e73fcd6f212e3770e61f0b7eb752dee.zip
cpython-f518d5e98e73fcd6f212e3770e61f0b7eb752dee.tar.gz
cpython-f518d5e98e73fcd6f212e3770e61f0b7eb752dee.tar.bz2
Print less in test_socket.
-rw-r--r--Lib/test/output/test_socket15
-rw-r--r--Lib/test/test_socket.py12
2 files changed, 6 insertions, 21 deletions
diff --git a/Lib/test/output/test_socket b/Lib/test/output/test_socket
index 2085c7b..65263f0 100644
--- a/Lib/test/output/test_socket
+++ b/Lib/test/output/test_socket
@@ -1,18 +1,3 @@
test_socket
socket.error
-2
-2
-1
-4
-5
-6
-23
-test_socket
-socket.error
-2
-2
-1
-4
-5
-6
23
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index 1e157b9..1af1ff1 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -22,13 +22,13 @@ def missing_ok(str):
print socket.error
-print socket.AF_INET
+socket.AF_INET
-print socket.SOCK_STREAM
-print socket.SOCK_DGRAM
-print socket.SOCK_RAW
-print socket.SOCK_RDM
-print socket.SOCK_SEQPACKET
+socket.SOCK_STREAM
+socket.SOCK_DGRAM
+socket.SOCK_RAW
+socket.SOCK_RDM
+socket.SOCK_SEQPACKET
for optional in ("AF_UNIX",