Loading weeks/test_lcd.py +2 −2 Original line number Original line Diff line number Diff line Loading @@ -59,6 +59,6 @@ class TestLCD(EmTest): print(message) print(message) lcd_sim = LCDInterpreter() lcd_sim = LCDInterpreter() lcd_sim.run_instructions(messages) lcd_sim.run_instructions(messages) line1 = lcd_sim.get_line_string(1) line1 = lcd_sim.get_line_string(1).strip() line2 = lcd_sim.get_line_string(2) line2 = lcd_sim.get_line_string(2).strip() assert len(line1) != 0 or len(line2) != 0 assert len(line1) != 0 or len(line2) != 0 Loading
weeks/test_lcd.py +2 −2 Original line number Original line Diff line number Diff line Loading @@ -59,6 +59,6 @@ class TestLCD(EmTest): print(message) print(message) lcd_sim = LCDInterpreter() lcd_sim = LCDInterpreter() lcd_sim.run_instructions(messages) lcd_sim.run_instructions(messages) line1 = lcd_sim.get_line_string(1) line1 = lcd_sim.get_line_string(1).strip() line2 = lcd_sim.get_line_string(2) line2 = lcd_sim.get_line_string(2).strip() assert len(line1) != 0 or len(line2) != 0 assert len(line1) != 0 or len(line2) != 0