Commits

Amaury Forgeot d'Arc committed 0242a63

Fix test_rpoll after the recent RSocket changes.

Comments (0)

Files changed (1)

pypy/rlib/test/test_rpoll.py

     assert events[0][0] == serv.fd
     assert events[0][1] & POLLIN
 
-    servconn, cliaddr = serv.accept()
+    servconn_fd, cliaddr = serv.accept()
+    servconn = RSocket(AF_INET, fd=servconn_fd)
 
     events = poll({serv.fd: POLLIN,
                    cli.fd: POLLOUT}, timeout=500)