From 3644ef26b43014dccf3937769d644202a78c218b Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Fri, 3 Apr 2020 14:47:55 +0200 Subject: Fix int(expr) --- test/analysis/depgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/analysis/depgraph.py b/test/analysis/depgraph.py index 69b93f69..eb6507dc 100644 --- a/test/analysis/depgraph.py +++ b/test/analysis/depgraph.py @@ -748,7 +748,7 @@ def flatNode(node): if isinstance(node.element, ExprId): element = node.element.name elif isinstance(node.element, ExprInt): - element = int(node.element.arg) + element = int(node.element) else: RuntimeError("Unsupported type '%s'" % type(enode.element)) names = loc_db.get_location_names(node.loc_key) -- cgit 1.4.1