(self)
| 6104 | class TestExceptions(unittest.TestCase): |
| 6105 | |
| 6106 | def testExceptionTree(self): |
| 6107 | self.assertIsSubclass(OSError, Exception) |
| 6108 | self.assertIsSubclass(socket.herror, OSError) |
| 6109 | self.assertIsSubclass(socket.gaierror, OSError) |
| 6110 | self.assertIsSubclass(socket.timeout, OSError) |
| 6111 | self.assertIs(socket.error, OSError) |
| 6112 | self.assertIs(socket.timeout, TimeoutError) |
| 6113 | |
| 6114 | def test_setblocking_invalidfd(self): |
| 6115 | # Regression test for issue #28471 |
nothing calls this directly
no test coverage detected