Skip to content

Commit

Permalink
Merge branch 'refactor_runners' of github.com:Quantum-Accelerators/qu…
Browse files Browse the repository at this point in the history
…acc into refactor_runners

test
  • Loading branch information
Andrew-S-Rosen committed Jun 11, 2024
2 parents 6c9c0a6 + c382920 commit 81713e5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/core/runners/test_ase.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,5 @@ def fn_hook(dyn):
if dyn.atoms:
raise ValueError("Test error")

atoms = bulk("Cu")

with pytest.raises(ValueError, match="Test error"):
Runner(atoms, EMT()).run_opt(fn_hook=fn_hook)
Runner(bulk("Cu"), EMT()).run_opt(fn_hook=fn_hook)

0 comments on commit 81713e5

Please sign in to comment.