Skip to content
Prev Previous commit
Next Next commit
Skip test_flush_return_value on linux platform
  • Loading branch information
killme2008 authored and youknowone committed Jun 14, 2022
commit 1ff3e0a5515b92b02f916b792c76354b95848947
1 change: 1 addition & 0 deletions Lib/test/test_mmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,7 @@ def test_concat_repeat_exception(self):
with self.assertRaises(TypeError):
m * 2

Comment thread
killme2008 marked this conversation as resolved.
@unittest.skipIf(sys.platform.startswith("linux"), "TODO: RUSTPYTHON, memmap2 doesn't throw OSError when offset is not a multiple of mmap.PAGESIZE on Linux")
def test_flush_return_value(self):
# mm.flush() should return None on success, raise an
# exception on error under all platforms.
Expand Down