diff options
Diffstat (limited to 'test/arch/mep')
| -rw-r--r-- | test/arch/mep/asm/ut_helpers_asm.py | 2 | ||||
| -rw-r--r-- | test/arch/mep/ir/test_loadstore.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/arch/mep/asm/ut_helpers_asm.py b/test/arch/mep/asm/ut_helpers_asm.py index 9f6dc5c2..2ebd0622 100644 --- a/test/arch/mep/asm/ut_helpers_asm.py +++ b/test/arch/mep/asm/ut_helpers_asm.py @@ -27,7 +27,7 @@ def check_instruction(mn_str, mn_hex, multi=None, offset=0): """Try to disassemble and assemble this instruction""" # Rename objdump registers names - mn_str = re.sub("\$([0-9]+)", lambda m: "R"+m.group(1), mn_str) + mn_str = re.sub(r"\$([0-9]+)", lambda m: "R"+m.group(1), mn_str) mn_str = mn_str.replace("$", "") # Disassemble diff --git a/test/arch/mep/ir/test_loadstore.py b/test/arch/mep/ir/test_loadstore.py index 87343fcb..e7b211bd 100644 --- a/test/arch/mep/ir/test_loadstore.py +++ b/test/arch/mep/ir/test_loadstore.py @@ -83,7 +83,7 @@ class TestLoadStore(object): [(ExprMem(ExprInt(0x1010, 32), 32), ExprInt(0xABC7, 32))]) def test_lb(self): - """Test LB executon""" + """Test LB execution""" # LB Rn,(Rm) exec_instruction("LB R1, (R2)", |