Fix print that failed doctests