def read_line(self):
        if self.buffer in '\n':
            line, self.buffer = self.buffer.split("\n", 1)
        else:
            line = self.buffer
            self.buffer = ""
        return line
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/actorstore/tests/test_actors.py/FDMock.read_line/swapped operands of `in`