diff options
author | Victor Stinner <vstinner@python.org> | 2023-09-29 21:56:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-29 21:56:19 (GMT) |
commit | 14098b78f7453adbd40c53e32c29588611b7c87b (patch) | |
tree | 2e6a8c27dbef7f1df1c92521d02850f7645dd6ea | |
parent | 2973970af8fb3f117ab2e8ab2d82e8a541fcb1da (diff) | |
download | cpython-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.py | 2 |
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") |