]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: python-foo assure foo[0] is on a list not dict_values object
authorChristian Hopps <chopps@labn.net>
Fri, 19 May 2023 13:43:06 +0000 (09:43 -0400)
committerChristian Hopps <chopps@labn.net>
Sun, 28 May 2023 09:13:22 +0000 (05:13 -0400)
Signed-off-by: Christian Hopps <chopps@labn.net>
tests/topotests/lib/topotest.py

index 4520300fd888640d807d28e889724b3feb220247..0e96921b7f2caa50935d2831b0bb80c9a4a012de 100644 (file)
@@ -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(