Skip to content

Commit

Permalink
Batch execute twice
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoyard committed Nov 22, 2021
1 parent bcd7174 commit f61fefe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ibmq.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def circuit(x, y):
assert np.allclose(res, expected, **tol)

# Check that QiskitDevice.batch_execute was called once
assert spy1.call_count == 1
assert spy1.call_count == 2

# Check that run was called twice: for the partial derivatives and for
# running the circuit
Expand Down

0 comments on commit f61fefe

Please sign in to comment.