summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_socket.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index 0ce97295fd..5a19051a35 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -3305,7 +3305,14 @@ class RecvmsgSCTPStreamTest(RecvmsgTests, RecvmsgGenericStreamTests,
@unittest.skipUnless(thread, 'Threading required for this test.')
class RecvmsgIntoSCTPStreamTest(RecvmsgIntoTests, RecvmsgGenericStreamTests,
SendrecvmsgSCTPStreamTestBase):
- pass
+
+ def testRecvmsgEOF(self):
+ try:
+ super(RecvmsgIntoSCTPStreamTest, self).testRecvmsgEOF()
+ except OSError as e:
+ if e.errno != errno.ENOTCONN:
+ raise
+ self.skipTest("sporadic ENOTCONN (kernel issue?) - see issue #13876")
class SendrecvmsgUnixStreamTestBase(SendrecvmsgConnectedBase,