summaryrefslogtreecommitdiff
path: root/Lib/test/test_time.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-07-18 10:02:06 -0700
committerVictor Stinner <vstinner@redhat.com>2018-07-18 19:02:06 +0200
commite13180bc4c40a9ac300590c62a6efbcaf10ae6df (patch)
treeac546429be1164ba14a4ea3d0fb4a15b315d4ae9 /Lib/test/test_time.py
parentc774f76d21661ac60601974f3c5bd6cf34709e72 (diff)
downloadcpython-git-e13180bc4c40a9ac300590c62a6efbcaf10ae6df.tar.gz
bpo-34130: Fix test_signal.test_socket() (GH-8326) (GH-8330)
test_signal.test_socket(): On Windows, sometimes even if the C signal handler succeed to write the signal number into the write end of the socketpair, the test fails with a BlockingIOError on the non-blocking read.recv(1) because the read end of the socketpair didn't receive the byte yet. Fix the race condition on Windows by setting the read end as blocking. (cherry picked from commit 99bb6df66a42625367c4f38e6802c8bb527baf4a) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Diffstat (limited to 'Lib/test/test_time.py')
0 files changed, 0 insertions, 0 deletions