def _dump_lines(self, lines, fp):
        try:
            for line in lines:
                py.builtin.print_(line, file=fp)
        except UnicodeEncodeError:
            print((fp,) % "couldn't print to %s because of encoding")
dataset/ETHPy150Open pytest-dev/pytest/_pytest/pytester.py/Testdir._dump_lines/swapped operands of `%`