fix test if it's just a line, with python 3