Skip to content

Commit

Permalink
fix bsim test for Ghidra vers without it
Browse files Browse the repository at this point in the history
  • Loading branch information
clearbluejar committed Jan 16, 2024
1 parent 1c8daa8 commit aae7d41
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_bsim.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ def test_bsim_bad_known_arg(shared_datadir: Path):
"--bsim"
])

with pytest.raises(ValueError):
if has_bsim():
# will only parse args is has_bsim
with pytest.raises(ValueError):

all_funcs, decompilations, output_path, compiler, lang_id, callgraphs = decompile(args)
all_funcs, decompilations, output_path, compiler, lang_id, callgraphs = decompile(args)


x = 1 / 1
Expand Down

0 comments on commit aae7d41

Please sign in to comment.