Update test_file_eintr.py to 3.14.5 (#7999)

This commit is contained in:
Shahar Naveh authored and GitHub committed 2026-06-01 00:08:40 +09:00
1 parent a0d89e5ddd
commit 1b85e0b261
1 file changed
+4 -5
+4 -5
View File
@@ -21,8 +21,8 @@ if not support.has_subprocess_support:
raise unittest.SkipTest("test module requires subprocess")
# Test import all of the things we're about to try testing up front.
import _io
import _pyio
import _io # noqa: F401
import _pyio # noqa: F401
@unittest.skipUnless(os.name == 'posix', 'tests requires a posix system.')
class TestFileIOSignalInterrupt:
@@ -186,10 +186,9 @@ class TestFileIOSignalInterrupt:
class CTestFileIOSignalInterrupt(TestFileIOSignalInterrupt, unittest.TestCase):
modname = '_io'
# TODO: RUSTPYTHON - _io.FileIO.readall uses read_to_end which differs from _pyio.FileIO.readall
@unittest.expectedFailure
@unittest.expectedFailure # TODO: RUSTPYTHON; - _io.FileIO.readall uses read_to_end which differs from _pyio.FileIO.readall
def test_readall(self):
super().test_readall()
return super().test_readall()
class PyTestFileIOSignalInterrupt(TestFileIOSignalInterrupt, unittest.TestCase):
modname = '_pyio'