def METHOD_NAME(program_trace: Union[ProgramTrace, Exception]):
    # test_retcode.c should cause a CalledProcessError to be returned since it has a non-zero exit code
    assert not isinstance(program_trace, CalledProcessError)