Skip to content

Flickering tests on Windows #146

@stuertz

Description

@stuertz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions