Skip to content

Commit

Permalink
try tweaking evo test
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmgray committed Oct 17, 2023
1 parent 13b57b7 commit c1eca61
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_evo.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,12 @@ def test_int_stop_calling_details(self, ham_rcr_psi):
# check that TypeError not related to argument count gets properly
# raised
with raises(TypeError):

def int_step(t, p, H):
raise TypeError("Something else.")

sim = qu.Evolution(p0, ham, method='integrate',
int_stop=7)
int_stop=int_step)
sim.update_to(trc)

def test_evo_at_times(self):
Expand Down

0 comments on commit c1eca61

Please sign in to comment.