We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b196941 commit 333437aCopy full SHA for 333437a
astroid/test_utils.py
@@ -48,9 +48,9 @@ def check_require_version(f):
48
49
@functools.wraps(f)
50
def new_f(*args, **kwargs):
51
- if minver != "0.0.0":
+ if current <= min_version:
52
pytest.skip(f"Needs Python > {minver}. Current version is {version}.")
53
- elif maxver != "4.0.0":
+ elif current > max_version:
54
pytest.skip(f"Needs Python <= {maxver}. Current version is {version}.")
55
56
return new_f
0 commit comments