on openSUSE Leap 42.3, with python 3.4, I run into a
"SyntaxError: invalid syntax" due to usage of an f-string in test-case
gdb.python/py-unwind.py.
Fix this by using string concatenation using '+' instead.
Tested on x86_64-linux.
assert not old_info["matched"]
for key, value in info.items():
- assert key in old_info, f"{key} not in old_info"
+ assert key in old_info, key + " not in old_info"
assert type(value) == type(old_info[key])
if isinstance(value, gdb.Block):
assert value.start == old_info[key].start