(self)
| 6207 | class TestExceptions(unittest.TestCase): |
| 6208 | |
| 6209 | def testExceptionTree(self): |
| 6210 | self.assertIsSubclass(OSError, Exception) |
| 6211 | self.assertIsSubclass(socket.herror, OSError) |
| 6212 | self.assertIsSubclass(socket.gaierror, OSError) |
| 6213 | self.assertIsSubclass(socket.timeout, OSError) |
| 6214 | self.assertIs(socket.error, OSError) |
| 6215 | self.assertIs(socket.timeout, TimeoutError) |
| 6216 | |
| 6217 | def test_setblocking_invalidfd(self): |
| 6218 | # Regression test for issue #28471 |
nothing calls this directly
no test coverage detected