Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_deserialize():
serialized_module = Module(TEST_BYTES).serialize()
module = Module.deserialize(serialized_module)
del serialized_module
assert module.instantiate().exports.sum(1, 2) == 3