python-progressbar 4.2.0 breaks test_progress.py
The update of progressbar from 4.1.0 to 4.2.0 interestingly changed the returned error code.
|# | N/A% None ETA: --:--:-- F
AILED
tests/test_progress.py::test_status_fd PASSED
================================================================================= FAILURES =================================================================================
______________________________________________________________________________ test_progress _______________________________________________________________________________
capsys = <_pytest.capture.CaptureFixture object at 0x7fbc1c6f33d0>, progressbar_err = ''
@skip_unless_module_exists("progressbar")
def test_progress(capsys, progressbar_err):
ret, _, err = run(capsys, TEST_TAR1_PATH, TEST_TAR2_PATH, "--progress")
> assert ret == 1
E assert 2 == 1
tests/test_progress.py:69: AssertionError