1. Pypy
  2. Untitled project
  3. pypy

Commits

Brian Kearns  committed 9de22a2

bsd does seem to raise EINPROGRESS

  • Participants
  • Parent commits f7c7029
  • Branches default

Comments (0)

Files changed (1)

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

View file
  • Ignore whitespace
         try:
             client.connect(("127.0.0.1", server_socket.getsockname()[1]))
         except socket.error, e:
-            if 'bsd' in sys.platform:
-                assert e.args[0] == errno.ENOENT
-            else:
-                assert e.args[0] == errno.EINPROGRESS
+            assert e.args[0] == errno.EINPROGRESS
+        else:
+            assert False, "EINPROGRESS not raised"
         server, addr = server_socket.accept()
 
         if sys.platform.startswith("darwin"):