How about asserting that len(result.stderr) > 0?