bpo-41180: Replace marshal code.__new__ audit event with marshal.load[s] and marshal.dumps (GH-26970)
diff --git a/Lib/test/test_audit.py b/Lib/test/test_audit.py
index 25ff34b..c5ce263 100644
--- a/Lib/test/test_audit.py
+++ b/Lib/test/test_audit.py
@@ -54,6 +54,11 @@ def test_block_add_hook(self):
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")