Fix enum and os.read related to signal by youknowone · Pull Request #6552 · RustPython/RustPython
@unittest.expectedFailure # TODO: RUSTPYTHON def test_readline(self): """readline() must handle signals and not lose data.""" self._test_reading(
@unittest.expectedFailure # TODO: RUSTPYTHON def test_readlines(self): """readlines() must handle signals and not lose data.""" self._test_reading(
@unittest.expectedFailure # TODO: RUSTPYTHON def test_readall(self): """readall() must handle signals and not lose data.""" self._test_reading(
# TODO: RUSTPYTHON - _io module uses _pyio internally, signal handling differs @unittest.expectedFailure def test_readline(self): super().test_readline()
@unittest.expectedFailure def test_readlines(self): super().test_readlines()
@unittest.expectedFailure def test_readall(self): super().test_readall()
class PyTestFileIOSignalInterrupt(TestFileIOSignalInterrupt, unittest.TestCase): modname = '_pyio'
@unittest.expectedFailure # TODO: RUSTPYTHON def test_readall(self): """BufferedReader.read() must handle signals and not lose data.""" self._test_reading(
# TODO: RUSTPYTHON - _io module uses _pyio internally, signal handling differs @unittest.expectedFailure def test_readline(self): super().test_readline()
@unittest.expectedFailure def test_readlines(self): super().test_readlines()
@unittest.expectedFailure def test_readall(self): super().test_readall()
class PyTestBufferedIOSignalInterrupt(TestBufferedIOSignalInterrupt, unittest.TestCase): modname = '_pyio'
@unittest.expectedFailure # TODO: RUSTPYTHON def test_readline(self): """readline() must handle signals and not lose data.""" self._test_reading(
@unittest.expectedFailure # TODO: RUSTPYTHON def test_readlines(self): """readlines() must handle signals and not lose data.""" self._test_reading(
@unittest.expectedFailure # TODO: RUSTPYTHON def test_readall(self): """read() must handle signals and not lose data.""" self._test_reading(
# TODO: RUSTPYTHON - _io module uses _pyio internally, signal handling differs @unittest.expectedFailure def test_readline(self): super().test_readline()
@unittest.expectedFailure def test_readlines(self): super().test_readlines()
@unittest.expectedFailure def test_readall(self): super().test_readall()
class PyTestTextIOSignalInterrupt(TestTextIOSignalInterrupt, unittest.TestCase): modname = '_pyio'