summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-09-29 21:56:19 (GMT)
committerGitHub <noreply@github.com>2023-09-29 21:56:19 (GMT)
commit14098b78f7453adbd40c53e32c29588611b7c87b (patch)
tree2e6a8c27dbef7f1df1c92521d02850f7645dd6ea
parent2973970af8fb3f117ab2e8ab2d82e8a541fcb1da (diff)
downloadcpython-14098b78f7453adbd40c53e32c29588611b7c87b.zip
cpython-14098b78f7453adbd40c53e32c29588611b7c87b.tar.gz
cpython-14098b78f7453adbd40c53e32c29588611b7c87b.tar.bz2
gh-107888: Fix test_mmap PROT_EXEC comment (#110125)
-rw-r--r--Lib/test/test_mmap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py
index 92c99d6..dfcf303 100644
--- a/Lib/test/test_mmap.py
+++ b/Lib/test/test_mmap.py
@@ -258,7 +258,7 @@ class MmapTests(unittest.TestCase):
try:
m = mmap.mmap(f.fileno(), mapsize, prot=prot)
except PermissionError:
- # on macOS 14, PROT_READ | PROT_WRITE is not allowed
+ # on macOS 14, PROT_READ | PROT_EXEC is not allowed
pass
else:
self.assertRaises(TypeError, m.write, b"abcdef")