]> 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 16:00:51 +0000 (09:00 -0700)
committerGitHub <noreply@github.com>
Tue, 25 Sep 2018 16:00:51 +0000 (09:00 -0700)
commit857b0028c0832c3159927489bc55f802bc5146cb
tree6768c51db4d2a00b22e8be856ff2989da609df57
parent0b3e1208033aa1eb5452afe9387f86f299ef24e5
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