From 1b85e0b26130bf1ceaf0b1c8fd29396bc453bb5c Mon Sep 17 00:00:00 2001 From: Shahar Naveh <50263213+ShaharNaveh@users.noreply.github.com> Date: Sun, 31 May 2026 18:08:40 +0300 Subject: [PATCH] Update `test_file_eintr.py` to 3.14.5 (#7999) --- Lib/test/test_file_eintr.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Lib/test/test_file_eintr.py b/Lib/test/test_file_eintr.py index fa9c6637f..98f7eb9e2 100644 --- a/Lib/test/test_file_eintr.py +++ b/Lib/test/test_file_eintr.py @@ -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'