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 e6c3329 commit 9d437b4Copy full SHA for 9d437b4
tests/test_actiondigraph.py
@@ -25,6 +25,8 @@
25
is_acyclic,
26
topological_sort,
27
wilo,
28
+ compare_version_numbers,
29
+ libsemigroups_version,
30
)
31
32
@@ -60,8 +62,12 @@ def test_001():
60
62
def test_003():
61
63
g = ActionDigraph(17, 31)
64
for i in range(17):
- with pytest.raises(RuntimeError):
65
+ if compare_version_numbers(libsemigroups_version(), "2.7.0"):
66
g.number_of_scc()
67
+ else:
68
+ with pytest.raises(RuntimeError):
69
+ g.number_of_scc()
70
+
71
for j in range(31):
72
g.add_edge(i, (7 * i + 23 * j) % 17, j)
73
0 commit comments