about summary refs log tree commit diff stats
path: root/test/core/graph.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/graph.py')
-rw-r--r--test/core/graph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/graph.py b/test/core/graph.py
index 9f8afcae..b71c3d51 100644
--- a/test/core/graph.py
+++ b/test/core/graph.py
@@ -257,7 +257,7 @@ assert len([sol for sol in sols if sol[j1] == 1]) == 1
 assert len([sol for sol in sols if sol[j1] == 2]) == 1
 
 ## Check filter
-j2 = MatchGraphJoker(name="son", restrict_out=False, filt=lambda node: node < 2)
+j2 = MatchGraphJoker(name="son", restrict_out=False, filt=lambda graph, node: node < 2)
 matcher = j1 >> j2 >> j1
 sols = list(matcher.match(graph))
 assert len(sols) == 1