Skip to content

Commit 1ff3e0a

Browse files
killme2008youknowone
authored andcommitted
Skip test_flush_return_value on linux platform
1 parent 3217de7 commit 1ff3e0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_mmap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,7 @@ def test_concat_repeat_exception(self):
728728
with self.assertRaises(TypeError):
729729
m * 2
730730

731+
@unittest.skipIf(sys.platform.startswith("linux"), "TODO: RUSTPYTHON, memmap2 doesn't throw OSError when offset is not a multiple of mmap.PAGESIZE on Linux")
731732
def test_flush_return_value(self):
732733
# mm.flush() should return None on success, raise an
733734
# exception on error under all platforms.

0 commit comments

Comments
 (0)