]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-33937: Catch ENOMEM error in test_socket (GH-9557)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 25 Sep 2018 15:49:28 +0000 (08:49 -0700)
committerGitHub <noreply@github.com>
Tue, 25 Sep 2018 15:49:28 +0000 (08:49 -0700)
commitef1173ab141ba5387598f8859ba96f98d20d743e
tree5e88ad4feb8460948e01039f0f73022721e535f4
parent321f28c5f4b7361fa1b6330697b28481b4565ec8
bpo-33937: Catch ENOMEM error in test_socket (GH-9557)

Fix test_socket.SendmsgSCTPStreamTest: catch ENOMEM error.
testSendmsgTimeout() and testSendmsgDontWait() randomly fail on
Travis CI with: "OSError: [Errno 12] Cannot allocate memory".
(cherry picked from commit 46f40be8b907854deb81c6132b7cb038e9e5202a)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/test_socket.py