Description
The
- test_failure.py and
- test_time.py
are failing from time to time.
The reason might be the lower resolution of time ticks on windows.
It could be easily fixed by adding a time sleep(0.1). But that's not the right solution IMHO.
A possible solution could be to use timeit.default_timer() in bar.py, which has a finer resolution on windows.
Versions
- Python 2.7.14 / Python 3.6.3
- Anconda
- Windows 10
- Progressbar: 3.34.4
Description
The
are failing from time to time.
The reason might be the lower resolution of time ticks on windows.
It could be easily fixed by adding a time sleep(0.1). But that's not the right solution IMHO.
A possible solution could be to use timeit.default_timer() in bar.py, which has a finer resolution on windows.
Versions