Skip to content

Commit f033430

Browse files
vstinnermiss-islington
authored andcommitted
pythongh-107888: Fix test_mmap PROT_EXEC comment (pythonGH-110125)
(cherry picked from commit 14098b7) Co-authored-by: Victor Stinner <[email protected]>
1 parent 190e8fb commit f033430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_mmap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def test_access_parameter(self):
258258
try:
259259
m = mmap.mmap(f.fileno(), mapsize, prot=prot)
260260
except PermissionError:
261-
# on macOS 14, PROT_READ | PROT_WRITE is not allowed
261+
# on macOS 14, PROT_READ | PROT_EXEC is not allowed
262262
pass
263263
else:
264264
self.assertRaises(TypeError, m.write, b"abcdef")

0 commit comments

Comments
 (0)