From: Victor Stinner Date: Fri, 29 Sep 2023 21:56:19 +0000 (+0200) Subject: gh-107888: Fix test_mmap PROT_EXEC comment (#110125) X-Git-Tag: v3.13.0a1~215 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=14098b78f7453adbd40c53e32c29588611b7c87b;p=thirdparty%2FPython%2Fcpython.git gh-107888: Fix test_mmap PROT_EXEC comment (#110125) --- diff --git a/Lib/test/test_mmap.py b/Lib/test/test_mmap.py index 92c99d645b25..dfcf3039422a 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")