Skip to content

Commit 42b6883

Browse files
[3.11] gh-107888: Fix test_mmap PROT_EXEC comment (GH-110125) (#110130)
gh-107888: Fix test_mmap PROT_EXEC comment (GH-110125) (cherry picked from commit 14098b7) Co-authored-by: Victor Stinner <[email protected]>
1 parent 190e8fb commit 42b6883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_mmap.py

+1-1
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)