mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 03:04:38 +08:00
Mark failing tests on Windows only
This commit is contained in:
1 file changed
+29
@@ -136,6 +136,11 @@ class PyAutoFileTests(AutoFileTests, unittest.TestCase):
|
||||
open = staticmethod(pyio.open)
|
||||
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
if sys.platform == "win32":
|
||||
PyAutoFileTests = unittest.expectedFailure(PyAutoFileTests)
|
||||
|
||||
|
||||
class OtherFileTests:
|
||||
|
||||
def tearDown(self):
|
||||
@@ -333,6 +338,30 @@ class COtherFileTests(OtherFileTests, unittest.TestCase):
|
||||
class PyOtherFileTests(OtherFileTests, unittest.TestCase):
|
||||
open = staticmethod(pyio.open)
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
if sys.platform == "win32":
|
||||
@unittest.expectedFailure
|
||||
def testIteration(self):
|
||||
super().testIteration()
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
if sys.platform == "win32":
|
||||
@unittest.expectedFailure
|
||||
def testModeStrings(self):
|
||||
super().testModeStrings()
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
if sys.platform == "win32":
|
||||
@unittest.expectedFailure
|
||||
def testSetBufferSize(self):
|
||||
super().testSetBufferSize()
|
||||
|
||||
# TODO: RUSTPYTHON
|
||||
if sys.platform == "win32":
|
||||
@unittest.expectedFailure
|
||||
def testTruncateOnWindows(self):
|
||||
super().testTruncateOnWindows()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user