Skip to content

Commit

Permalink
Added extra assertion for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
mudit2812 committed Apr 24, 2024
1 parent f13623f commit 68cd2e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_serialize_no_binaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@
def test_no_binaries():
"""Test no binaries were found for the device"""

assert not LightningDevice._CPP_BINARY_AVAILABLE
with pytest.raises(ImportError, match="Pre-compiled binaries for "):
QuantumScriptSerializer(device_name)

0 comments on commit 68cd2e9

Please sign in to comment.