Skip to content

Commit

Permalink
Fixed tests; changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
mudit2812 committed Aug 30, 2023
1 parent 75547a2 commit 8dceec3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

### Breaking changes 💔

* The old return type system has been removed.
[(#)]()

### Deprecations 👋

### Documentation 📝
Expand Down
3 changes: 0 additions & 3 deletions tests/test_qiskit_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ def test_calls_to_reset(self, n_tapes, mocker, device):
def test_result_legacy(self, device, tol):
"""Tests that the result has the correct shape and entry types."""
# TODO: remove once the legacy return system is removed.
qml.disable_return()
dev = device(2)
tapes = [self.tape1, self.tape2]
res = dev.batch_execute(tapes)
Expand All @@ -163,8 +162,6 @@ def test_result_legacy(self, device, tol):
assert isinstance(res[1], np.ndarray)
assert np.allclose(res[1], tape2_expected, atol=0)

qml.enable_return()

def test_result(self, device, tol):
"""Tests that the result has the correct shape and entry types."""
dev = device(2)
Expand Down

0 comments on commit 8dceec3

Please sign in to comment.