Skip to content

Commit 1ce37bf

Browse files
authored
Update test_file_eintr.py to 3.14.5 (#7999)
1 parent 0e66439 commit 1ce37bf

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

‎Lib/test/test_file_eintr.py‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
raise unittest.SkipTest("test module requires subprocess")
2222

2323
# Test import all of the things we're about to try testing up front.
24-
import _io
25-
import _pyio
24+
import _io # noqa: F401
25+
import _pyio # noqa: F401
2626

2727
@unittest.skipUnless(os.name == 'posix', 'tests requires a posix system.')
2828
class TestFileIOSignalInterrupt:
@@ -186,10 +186,9 @@ def test_readall(self):
186186
class CTestFileIOSignalInterrupt(TestFileIOSignalInterrupt, unittest.TestCase):
187187
modname = '_io'
188188

189-
# TODO: RUSTPYTHON - _io.FileIO.readall uses read_to_end which differs from _pyio.FileIO.readall
190-
@unittest.expectedFailure
189+
@unittest.expectedFailure # TODO: RUSTPYTHON; - _io.FileIO.readall uses read_to_end which differs from _pyio.FileIO.readall
191190
def test_readall(self):
192-
super().test_readall()
191+
return super().test_readall()
193192

194193
class PyTestFileIOSignalInterrupt(TestFileIOSignalInterrupt, unittest.TestCase):
195194
modname = '_pyio'

0 commit comments

Comments
 (0)