File python-2.7.4-no-REUSEPORT.patch of Package python-base

Index: Python-2.7.4/Lib/test/test_support.py
===================================================================
--- Python-2.7.4.orig/Lib/test/test_support.py	2013-04-06 16:02:32.000000000 +0200
+++ Python-2.7.4/Lib/test/test_support.py	2013-05-09 17:46:46.789663295 +0200
@@ -371,10 +371,10 @@
             if sock.getsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR) == 1:
                 raise TestFailed("tests should never set the SO_REUSEADDR "   \
                                  "socket option on TCP/IP sockets!")
-        if hasattr(socket, 'SO_REUSEPORT'):
-            if sock.getsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT) == 1:
-                raise TestFailed("tests should never set the SO_REUSEPORT "   \
-                                 "socket option on TCP/IP sockets!")
+#        if hasattr(socket, 'SO_REUSEPORT'):
+#            if sock.getsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT) == 1:
+#                raise TestFailed("tests should never set the SO_REUSEPORT "   \
+#                                 "socket option on TCP/IP sockets!")
         if hasattr(socket, 'SO_EXCLUSIVEADDRUSE'):
             sock.setsockopt(socket.SOL_SOCKET, socket.SO_EXCLUSIVEADDRUSE, 1)