gh-107888: Fix test_mmap PROT_EXEC comment (#110125)

This commit is contained in:
Victor Stinner 2023-09-29 23:56:19 +02:00 committed by GitHub
parent 2973970af8
commit 14098b78f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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")