From 61551fa78e9dd22ed1f982b4fe171fd6383c39a6 Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Fri, 18 May 2018 14:43:57 +0200 Subject: Core: replace AsmLabel by LocKey --- test/core/graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/core/graph.py') 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 -- cgit 1.4.1