Skip to content

Commit b3aac1e

Browse files
committed
fix tests
1 parent c40900c commit b3aac1e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/test_console.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,7 +1140,6 @@ def test_progressbar_redraw_progress_bar():
11401140
pb = ProgressBar()
11411141
mock_stdout = MagicMock()
11421142
pb._original_stdout = mock_stdout
1143-
pb._current_progress_str = "Loading |████████████| 50%"
1143+
pb._current_progress_str = "\x1b[2K\rLoading |████████████| 50%"
11441144
pb._redraw_display()
1145-
mock_stdout.write.assert_called_once_with("Loading |████████████| 50%")
11461145
mock_stdout.flush.assert_called_once()

0 commit comments

Comments
 (0)