(self)
| 1886 | support.gc_collect() |
| 1887 | |
| 1888 | def test_name_closed_socketio(self): |
| 1889 | with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: |
| 1890 | fp = sock.makefile("rb") |
| 1891 | fp.close() |
| 1892 | self.assertEqual(repr(fp), "<_io.BufferedReader name=-1>") |
| 1893 | |
| 1894 | def test_unusable_closed_socketio(self): |
| 1895 | with socket.socket() as sock: |
nothing calls this directly
no test coverage detected