summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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",