Skip to content

Commit

Permalink
Use MAJOR and MINOR constants to check supported Python version (#724)
Browse files Browse the repository at this point in the history
  • Loading branch information
std-max authored Jul 23, 2021
1 parent 07a7c8b commit 1fdd599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vunit/version_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def version_is_ok():
Returns true if version is high enough
"""
version = (sys.version_info[0], sys.version_info[1])
return version >= (3, 6)
return version >= (MAJOR, MINOR)


if not version_is_ok():
Expand Down

0 comments on commit 1fdd599

Please sign in to comment.