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_multiple_find():
bytecode = b"\x01\x03\x04\x02\x01\x05\x01"
assert inliner.multiple_find(bytecode, b"\x01") == (0, 4, 6)
assert inliner.multiple_find(bytecode, b"\x10") == ()
def test_multiple_find():
bytecode = b"\x01\x03\x04\x02\x01\x05\x01"
assert inliner.multiple_find(bytecode, b"\x01") == (0, 4, 6)
assert inliner.multiple_find(bytecode, b"\x10") == ()