Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix comparison against installed PyTest version #353

Commits on Oct 26, 2019

  1. Fix comparison against installed PyTest version

    With the current code, the comparison `pytest.__version__ >= '3.8'`
    returns the wrong result when using PyTest 3.10, as `'3.10' < '3.8'` if
    we use Python's string comparison.
    
    Having `PYTEST_VERSION` as an integer tuple allows us to have simpler
    comparisons.
    adamantike committed Oct 26, 2019
    Configuration menu
    Copy the full SHA
    d0b3f63 View commit details
    Browse the repository at this point in the history