read() must handle signals and not lose data.
(self)
| 237 | expected=['hello\n', 'world!\n'])) |
| 238 | |
| 239 | def test_readall(self): |
| 240 | """read() must handle signals and not lose data.""" |
| 241 | self._test_reading( |
| 242 | data_to_write=b'hello\nworld!', |
| 243 | read_and_verify_code=self._READING_CODE_TEMPLATE.format( |
| 244 | read_method_name='read', |
| 245 | expected="hello\nworld!\n")) |
| 246 | |
| 247 | class CTestTextIOSignalInterrupt(TestTextIOSignalInterrupt, unittest.TestCase): |
| 248 | modname = '_io' |
nothing calls this directly
no test coverage detected