Commits

Armin Rigo committed 81fc104

(iko, rguillebert, arigo)

Fix the test by sleeping a bit, because the character just sent
may not yet have arrived on the reading end.

Comments (0)

Files changed (1)

pypy/module/_multiprocessing/test/test_connection.py

         assert rhandle.poll() == False
         assert rhandle.poll(1) == False
         whandle.send(1)
+        import time; time.sleep(0.1)  # give it time to arrive :-)
         assert rhandle.poll() == True
         assert rhandle.poll(None) == True
         assert rhandle.recv() == 1