Commit 03d9732b authored by qinsoon's avatar qinsoon

test_xor in test_binop also run in a seperate thread

parent 05cbb3dc
...@@ -61,7 +61,7 @@ def test_or(): ...@@ -61,7 +61,7 @@ def test_or():
fn, _ = fncptr_from_c_script("test_or.c", "test_fnc", restype=ctypes.c_uint64) fn, _ = fncptr_from_c_script("test_or.c", "test_fnc", restype=ctypes.c_uint64)
assert fn() == 0xddbffedff83febf5 assert fn() == 0xddbffedff83febf5
@may_spawn_proc
def test_xor(): def test_xor():
fn, _ = fncptr_from_c_script("test_xor.c", "test_fnc", restype=ctypes.c_uint64) fn, _ = fncptr_from_c_script("test_xor.c", "test_fnc", restype=ctypes.c_uint64)
assert fn() == 0x58376ec3e83fa0e1 assert fn() == 0x58376ec3e83fa0e1
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment