From 898499a50f54732f7acd57229e7bb2a6a56b7e5d Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Fri, 19 May 2023 09:43:06 -0400 Subject: [PATCH] tests: python-foo assure foo[0] is on a list not dict_values object Signed-off-by: Christian Hopps --- tests/topotests/lib/topotest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/topotests/lib/topotest.py b/tests/topotests/lib/topotest.py index 4520300fd8..0e96921b7f 100644 --- a/tests/topotests/lib/topotest.py +++ b/tests/topotests/lib/topotest.py @@ -988,7 +988,7 @@ def checkAddressSanitizerError(output, router, component, logdir=""): ) if addressSanitizerLog: # Find Calling Test. Could be multiple steps back - testframe = sys._current_frames().values()[0] + testframe = list(sys._current_frames().values())[0] level = 0 while level < 10: test = os.path.splitext(