This patch removes all uses of "assert" in the regression test suite
and replaces them with a new API verify(). As a result the regression
suite will also perform its tests in optimization mode.

Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index fe37936..dab432f 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -8,7 +8,7 @@
 #       sktobj.shutdown()
 
 
-from test_support import verbose, TestFailed
+from test_support import verify, verbose, TestFailed
 import socket
 import os
 import time