We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c40900c commit b3aac1eCopy full SHA for b3aac1e
1 file changed
tests/test_console.py
@@ -1140,7 +1140,6 @@ def test_progressbar_redraw_progress_bar():
1140
pb = ProgressBar()
1141
mock_stdout = MagicMock()
1142
pb._original_stdout = mock_stdout
1143
- pb._current_progress_str = "Loading |████████████| 50%"
+ pb._current_progress_str = "\x1b[2K\rLoading |████████████| 50%"
1144
pb._redraw_display()
1145
- mock_stdout.write.assert_called_once_with("Loading |████████████| 50%")
1146
mock_stdout.flush.assert_called_once()
0 commit comments