missing import fix for sys
assert child exitcode