def test_basic(self):
        with temp() as f:
            for i in range(10):
                f.write(i % "%d\n")

            for i in range(10):
                multitail._seek_to_n_lines_from_end(f, i)
                assert_equal(i, len(f.readlines()))
dataset/ETHPy150Open thobbs/multitail-curses/test.py/TestSeeking.test_basic/swapped operands of `%`