Skip to content

Commit bdc0484

Browse files
committed
Backport pythongh-110125: Fix test_mmap PROT_EXEC comment
1 parent 92dc2cb commit bdc0484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/StdLib/Lib/test/test_mmap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def test_access_parameter(self):
245245
try:
246246
m = mmap.mmap(f.fileno(), mapsize, prot=prot)
247247
except PermissionError:
248-
# on macOS 14, PROT_READ | PROT_WRITE is not allowed
248+
# on macOS 14, PROT_READ | PROT_EXEC is not allowed
249249
pass
250250
else:
251251
self.assertRaises(TypeError, m.write, b"abcdef")

0 commit comments

Comments
 (0)