Raise statement normalization in Lib/test/.
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index e955bff..36f148e 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -125,7 +125,7 @@
         self.client_ready.set()
         self.clientSetUp()
         if not hasattr(test_func, '__call__'):
-            raise TypeError, "test_func must be a callable function"
+            raise TypeError("test_func must be a callable function")
         try:
             test_func()
         except Exception as strerror:
@@ -133,7 +133,7 @@
         self.clientTearDown()
 
     def clientSetUp(self):
-        raise NotImplementedError, "clientSetUp must be implemented."
+        raise NotImplementedError("clientSetUp must be implemented.")
 
     def clientTearDown(self):
         self.done.set()