about summary refs log tree commit diff stats
path: root/test/analysis/depgraph.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/analysis/depgraph.py')
-rw-r--r--test/analysis/depgraph.py2
1 files changed, 1 insertions, 1 deletions
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)