BufferedReader.read() must handle signals and not lose data.
(self)
| 198 | self.modname) |
| 199 | |
| 200 | def test_readall(self): |
| 201 | """BufferedReader.read() must handle signals and not lose data.""" |
| 202 | self._test_reading( |
| 203 | data_to_write=b'hello\nworld!', |
| 204 | read_and_verify_code=self._READING_CODE_TEMPLATE.format( |
| 205 | read_method_name='read', |
| 206 | expected=b'hello\nworld!\n')) |
| 207 | |
| 208 | class CTestBufferedIOSignalInterrupt(TestBufferedIOSignalInterrupt, unittest.TestCase): |
| 209 | modname = '_io' |
nothing calls this directly
no test coverage detected