mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Update test_file_eintr.py to 3.14.5 (#7999)
This commit is contained in:
1 parent
a0d89e5ddd
commit
1b85e0b261
1 file changed
+4
-5
Vendored
+4
-5
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user