diff --git a/t/unit/test_spawn.py b/t/unit/test_spawn.py index be67e25..b06dcdc 100644 --- a/t/unit/test_spawn.py +++ b/t/unit/test_spawn.py @@ -14,7 +14,7 @@ def test_start(self): p = ctx.Process(target=task_from_process, args=('opa',)) p.start() p.join() - return p.exitcode + assert p.exitcode == 0 @pytest.mark.skipif(not sys.platform.startswith('linux'), reason='set_pdeathsig() is supported only in Linux')