(self)
| 576 | [bytearray(100)]) |
| 577 | |
| 578 | def test_timeout(self): |
| 579 | # Issue #8524: when creating an SSL socket, the timeout of the |
| 580 | # original socket should be retained. |
| 581 | for timeout in (None, 0.0, 5.0): |
| 582 | s = socket.socket(socket.AF_INET) |
| 583 | s.settimeout(timeout) |
| 584 | with test_wrap_socket(s) as ss: |
| 585 | self.assertEqual(timeout, ss.gettimeout()) |
| 586 | |
| 587 | @unittest.expectedFailure # TODO: RUSTPYTHON |
| 588 | def test_openssl111_deprecations(self): |
nothing calls this directly
no test coverage detected