Commit ebf765db authored by Markus Holzer's avatar Markus Holzer
Browse files

Adapted test case a bit

parent 558ab66f
Pipeline #31761 passed with stage
in 10 minutes and 7 seconds
...@@ -5,7 +5,6 @@ def test_version_string(): ...@@ -5,7 +5,6 @@ def test_version_string():
print(version) print(version)
numeric_version = [int(x, 10) for x in version.split('.')[0:2]] numeric_version = [int(x, 10) for x in version.split('.')[0:2]]
numeric_version.reverse()
test_version = sum(x * (100 ** i) for i, x in enumerate(numeric_version)) test_version = sum(x * (100 ** i) for i, x in enumerate(numeric_version))
assert test_version >= 2 assert test_version >= 200
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment