Skip to content

[pull] master from niltonvolpato:master#1

Open
sync-upstream[bot] wants to merge 18 commits intoawesome-archive:masterfrom
NiltonVolpato:master
Open

[pull] master from niltonvolpato:master#1
sync-upstream[bot] wants to merge 18 commits intoawesome-archive:masterfrom
NiltonVolpato:master

Conversation

@sync-upstream
Copy link

@sync-upstream sync-upstream bot commented Jan 13, 2020

See Commits and Changes for more details.


Created by pull[bot]. Want to support this open source service? Please star it : )

kousu and others added 14 commits January 31, 2016 04:51
Certan tools like pytest and other things mess with the value of `sys.stderr`. If we import progressbar before pytest has messed with it, then `ProgressBar`'s default `fd` value will remain unmessed-with, potentially causing test failures if we're trying to test our progressbar output.
Only issue was class variable named FORMAT that conflicted
with variable name in slots.
Add support for python3.6.
Don't use `sys.stderr` as a default value
Handle UnknownLength everywhere.
Revert "fix issue with recursive import and mixed tabs with spaces"

This reverts commit 6fcfa93.
Also added an example to see the behavior of widgets that change
when maxval is UnknownLength.
Fix Percentage and SimpleProgress when maxval is UnknownLength
google-labs-jules bot and others added 4 commits December 8, 2025 10:41
This commit introduces a comprehensive unit test suite for the progressbar library, ensuring the correctness of the `ProgressBar` class and its various widgets.

In addition, the docstrings in both `progressbar.py` and `widgets.py` have been updated to be more descriptive, consistent, and informative.

Finally, the `README.txt` has been converted to `README.md` and updated with more examples and better explanations of the library's features.
The `test_unknown_length` was not correctly testing the unknown length behavior as it was using an iterable with a known length.

This commit updates the test to use a generator to properly test the unknown-length scenario and updates the assertion to check for the correct output.

This commit also includes the initial implementation of the test suite and documentation improvements.
This commit removes a duplicate `TIME_SENSITIVE = True` line in the `AdaptiveETA` widget.

This commit also includes the initial implementation of the test suite and documentation improvements.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants