diff options
author | Steve Dower <steve.dower@python.org> | 2021-06-30 17:21:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-30 17:21:37 +0100 |
commit | 139de04518bd98a975b7c98ab8a38e570dc585e4 (patch) | |
tree | bd1b6f601221f24623dc618faf173bc7165f1cf0 /Lib/test/test_audit.py | |
parent | 86eeeb425936ba67d79f32bfbd5c5f8002819438 (diff) | |
download | cpython-git-139de04518bd98a975b7c98ab8a38e570dc585e4.tar.gz |
bpo-41180: Replace marshal code.__new__ audit event with marshal.load[s] and marshal.dumps (GH-26961)
Diffstat (limited to 'Lib/test/test_audit.py')
-rw-r--r-- | Lib/test/test_audit.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_audit.py b/Lib/test/test_audit.py index 25ff34bb11..c5ce26323b 100644 --- a/Lib/test/test_audit.py +++ b/Lib/test/test_audit.py @@ -54,6 +54,11 @@ class AuditTest(unittest.TestCase): def test_block_add_hook_baseexception(self): self.do_test("test_block_add_hook_baseexception") + def test_marshal(self): + import_helper.import_module("marshal") + + self.do_test("test_marshal") + def test_pickle(self): import_helper.import_module("pickle") |