Skip to content

Commit d55f46d

Browse files
tob-scott-aclaude
andcommitted
style: format test_masm_parser.py to pass ruff format --check
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 580222c commit d55f46d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/test_masm_parser.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,18 +187,14 @@ def test_call_edges_from_entrypoint(self) -> None:
187187
def test_local_call_is_certain(self) -> None:
188188
_, graph = _parse_sample()
189189
calls = [e for e in graph.edges if e.kind == EdgeKind.CALLS]
190-
local_calls = [
191-
e for e in calls if "begin" in e.source_id and "add_values" in e.target_id
192-
]
190+
local_calls = [e for e in calls if "begin" in e.source_id and "add_values" in e.target_id]
193191
assert len(local_calls) == 1
194192
assert local_calls[0].confidence == EdgeConfidence.CERTAIN
195193

196194
def test_cross_module_call_is_inferred(self) -> None:
197195
_, graph = _parse_sample()
198196
calls = [e for e in graph.edges if e.kind == EdgeKind.CALLS]
199-
cross_calls = [
200-
e for e in calls if "begin" in e.source_id and "checked_add" in e.target_id
201-
]
197+
cross_calls = [e for e in calls if "begin" in e.source_id and "checked_add" in e.target_id]
202198
assert len(cross_calls) == 1
203199
assert cross_calls[0].confidence == EdgeConfidence.INFERRED
204200

0 commit comments

Comments
 (0)