FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-progressbar/tests/test_empty.py at develop · wolph/python-progressbar · GitHub
wolph
/
python-progressbar
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
106
Star
879
Code
Issues
1
Pull requests
0
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python-progressbar
/
tests
/
test_empty.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
11 lines (7 loc) · 228 Bytes
Breadcrumbs
python-progressbar
/
tests
/
test_empty.py
Copy path
File metadata and controls
11 lines (7 loc) · 228 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
import
progressbar
def
test_empty_list
()
->
None
:
for
x
in
progressbar
.
ProgressBar
()([]):
print
(
x
)
def
test_empty_iterator
()
->
None
:
for
x
in
progressbar
.
ProgressBar
(
max_value
=
0
)(
iter
([])):
print
(
x
)
Back
|
FazBrowse Home
|
New Git URL