diff --git a/qtconsole/tests/test_00_console_widget.py b/qtconsole/tests/test_00_console_widget.py index c9b571e8..ed30122c 100644 --- a/qtconsole/tests/test_00_console_widget.py +++ b/qtconsole/tests/test_00_console_widget.py @@ -394,7 +394,7 @@ def test_print_carriage_return(self): w._append_plain_text(text, before_prompt=True) w._flush_pending_stream() # emulate text being flushed - self.assert_text_equal(w._get_cursor(), + self.assert_text_equal(w._get_line_start_cursor(), "Hello\u20290123456789\u2029\u2029prompt>") # Print after prompt