]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-33937: Catch ENOMEM error in test_socket (#9557)
authorVictor Stinner <vstinner@redhat.com>
Tue, 25 Sep 2018 15:30:15 +0000 (08:30 -0700)
committerGitHub <noreply@github.com>
Tue, 25 Sep 2018 15:30:15 +0000 (08:30 -0700)
commit46f40be8b907854deb81c6132b7cb038e9e5202a
treeb5bc41943690a77d4d5eeddae87562535fc2fd02
parent6ea29c5e90dde6c240bd8e0815614b52ac307ea1
bpo-33937: Catch ENOMEM error in test_socket (#9557)

Fix test_socket.SendmsgSCTPStreamTest: catch ENOMEM error.
testSendmsgTimeout() and testSendmsgDontWait() randomly fail on
Travis CI with: "OSError: [Errno 12] Cannot allocate memory".
Lib/test/test_socket.py