From 0f473d5f9cc9e1ed72092b47438da59d7dfc77ee Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 18:03:46 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.py b/tests/test.py index d8303b0..b412952 100755 --- a/tests/test.py +++ b/tests/test.py @@ -127,12 +127,12 @@ class VarnodeTests(TestCase): def test_getSpaceFromConst(self): ctx = Context("x86:LE:64:default") - tx = ctx.translate(b"\x48\x8B\x41\x01") # mov rax, [rcx + 1] + tx = ctx.translate(b"\x48\x8b\x41\x01") # mov rax, [rcx + 1] assert tx.ops[2].inputs[0].getSpaceFromConst().name == "ram" def test_getRegisterName(self): ctx = Context("x86:LE:64:default") - tx = ctx.translate(b"\x48\x8B\x41\x01") # mov rax, [rcx + 1] + tx = ctx.translate(b"\x48\x8b\x41\x01") # mov rax, [rcx + 1] assert tx.ops[1].inputs[0].getRegisterName() == "RCX" assert tx.ops[1].inputs[1].getRegisterName() == ""