Commits

Armin Rigo  committed 0aa5df9

Python 2.5 compat

  • Participants
  • Parent commits 56ab50a

Comments (0)

Files changed (1)

File pypy/module/select/test/test_kqueue.py

         client.setblocking(False)
         try:
             client.connect(("127.0.0.1", server_socket.getsockname()[1]))
-        except socket.error as e:
+        except socket.error, e:
             if 'bsd' in sys.platform:
                 assert e.args[0] == errno.ENOENT
             else: