diff options
author | Zackery Spytz <zspytz@gmail.com> | 2019-06-21 15:31:59 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@python.org> | 2019-06-21 15:31:59 (GMT) |
commit | 08286d52b29de604a4b187bf1f0d4209e39c926c (patch) | |
tree | 36af2d00c327f0482135deac89d724481ce2ee76 /Lib/test/test_audit.py | |
parent | 08970cb03c61f62f4f69e7769d0075fa66bb86aa (diff) | |
download | cpython-08286d52b29de604a4b187bf1f0d4209e39c926c.zip cpython-08286d52b29de604a4b187bf1f0d4209e39c926c.tar.gz cpython-08286d52b29de604a4b187bf1f0d4209e39c926c.tar.bz2 |
bpo-37316: mmap.mmap() passes the wrong variable to PySys_Audit() (GH-14152)
Also, add a missing call to va_end() in PySys_Audit().
Diffstat (limited to 'Lib/test/test_audit.py')
-rw-r--r-- | Lib/test/test_audit.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_audit.py b/Lib/test/test_audit.py index f629b7b..2fc41bd 100644 --- a/Lib/test/test_audit.py +++ b/Lib/test/test_audit.py @@ -74,6 +74,9 @@ class AuditTest(unittest.TestCase): def test_cantrace(self): self.do_test("test_cantrace") + def test_mmap(self): + self.do_test("test_mmap") + if __name__ == "__main__": unittest.main() |