diff --git a/trio/tests/test_subprocess.py b/trio/tests/test_subprocess.py index 1f489db50c..ae19f8b789 100644 --- a/trio/tests/test_subprocess.py +++ b/trio/tests/test_subprocess.py @@ -51,7 +51,6 @@ async def test_basic(): repr_template = "".format(EXIT_TRUE) async with await open_process(EXIT_TRUE) as proc: assert isinstance(proc, Process) - assert proc.returncode is None assert repr(proc) == repr_template.format( "running with PID {}".format(proc.pid) )