From 4e0602d788e0bc10bd6bd207e3471088a9778298 Mon Sep 17 00:00:00 2001 From: Charles Cooper Date: Wed, 17 May 2023 22:12:28 +0000 Subject: [PATCH] fix a test --- tests/parser/test_call_graph_stability.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/parser/test_call_graph_stability.py b/tests/parser/test_call_graph_stability.py index 6f78b50053..b651092d16 100644 --- a/tests/parser/test_call_graph_stability.py +++ b/tests/parser/test_call_graph_stability.py @@ -70,4 +70,6 @@ def foo(): r = d.args[0].args[0].value if isinstance(r, str) and r.startswith("internal"): ir_funcs.append(r) - assert ir_funcs == [f._ir_info.internal_function_label for f in sigs.values()] + assert ir_funcs == [ + f._ir_info.internal_function_label(is_ctor_context=False) for f in sigs.values() + ]