]> git.proxmox.com Git - mirror_frr.git/blobdiff - tests/topotests/lib/topotest.py
tests: python-foo assure foo[0] is on a list not dict_values object
[mirror_frr.git] / 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(