Skip to content

Commit 74c45cc

Browse files
authored
Fix test version (#140)
1 parent e22b23f commit 74c45cc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

suitesparse_graphblas/tests/test_package.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@ def test_matrix_existence():
77

88

99
def test_version():
10-
assert suitesparse_graphblas.__version__ > "7.4.2.0"
10+
# Example dev version: 9.4.5.0+2.g5590dba8.dirty
11+
# Example reslease version: 9.4.5.0
12+
version = suitesparse_graphblas.__version__
13+
version = [int(x) for x in version.split("+")[0].split(".")]
14+
assert version > [9, 4, 4, 0]

0 commit comments

Comments
 (0)