mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	Silence sporadic failure in RecvmsgIntoSCTPStreamTest.testRecvmsgEOF (issue #13876) - probably not Python-related.
This commit is contained in:
		
							parent
							
								
									07edb82e4b
								
							
						
					
					
						commit
						d5a070f586
					
				
					 1 changed files with 8 additions and 1 deletions
				
			
		| 
						 | 
					@ -3305,7 +3305,14 @@ def testRecvmsgEOF(self):
 | 
				
			||||||
@unittest.skipUnless(thread, 'Threading required for this test.')
 | 
					@unittest.skipUnless(thread, 'Threading required for this test.')
 | 
				
			||||||
class RecvmsgIntoSCTPStreamTest(RecvmsgIntoTests, RecvmsgGenericStreamTests,
 | 
					class RecvmsgIntoSCTPStreamTest(RecvmsgIntoTests, RecvmsgGenericStreamTests,
 | 
				
			||||||
                                SendrecvmsgSCTPStreamTestBase):
 | 
					                                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,
 | 
					class SendrecvmsgUnixStreamTestBase(SendrecvmsgConnectedBase,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue