mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-41180: Replace marshal code.__new__ audit event with marshal.load[s] and marshal.dumps (GH-26961)
This commit is contained in:
parent
86eeeb4259
commit
139de04518
5 changed files with 65 additions and 10 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue