mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-02 22:24:23 +00:00
tests: python-foo assure foo[0] is on a list not dict_values object
Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
parent
5773954be9
commit
898499a50f
@ -988,7 +988,7 @@ def checkAddressSanitizerError(output, router, component, logdir=""):
|
|||||||
)
|
)
|
||||||
if addressSanitizerLog:
|
if addressSanitizerLog:
|
||||||
# Find Calling Test. Could be multiple steps back
|
# Find Calling Test. Could be multiple steps back
|
||||||
testframe = sys._current_frames().values()[0]
|
testframe = list(sys._current_frames().values())[0]
|
||||||
level = 0
|
level = 0
|
||||||
while level < 10:
|
while level < 10:
|
||||||
test = os.path.splitext(
|
test = os.path.splitext(
|
||||||
|
Loading…
Reference in New Issue
Block a user