def add_history(self, line):
        if not line.get_line_text():
            pass
        elif len(self.history) > 0 and self.history[-1].get_line_text() == line.get_line_text():
            pass
        else:
            self.history.append(line)
        self.history_cursor = len(self.history)
Test that a light source which is obscured somehow does not actually
dataset/ETHPy150Open deanhiller/databus/webapp/play1.3.x/python/Lib/site-packages/pyreadline/lineeditor/history.py/LineHistory.add_history--crossover with--dataset/ETHPy150Open twisted/imaginary/imaginary/test/test_illumination.py/DarknessTestCase.testOccultedLightSource