Skip to content

Commit

Permalink
Merge pull request #949 from Epistimio/Fix-backward-comp-tests
Browse files Browse the repository at this point in the history
Ignore .post in version for backward comp tests.
  • Loading branch information
bouthilx authored Jun 17, 2022
2 parents ee35c4e + 53ce25b commit b41ced8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/backward_compatibility/test_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def get_evc_argument(version):
Before v0.1.16 EVC was enabled by default. Starting from v0.1.16 it must be enabled with
--enable-evc.
"""
major, minor, patch = list(map(int, version.split(".")))
major, minor, patch = list(map(int, version.split(".")[:3]))
return "--enable-evc" if (major > 0 or minor > 1 or patch > 15) else ""


Expand Down

0 comments on commit b41ced8

Please sign in to comment.