Skip to content

Commit

Permalink
DNM: test QPY tests do not OOM when everything errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelishman committed Mar 1, 2025
1 parent a4e1ef4 commit 0410976
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/qpy_compat/test_qpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,8 @@ def generate_circuits(version_parts, current_version, load_context=False):
circuits. For those circuits, load_qpy only checks that the cached
circuits can be loaded without erroring."""

raise Exception("whoops")

output_circuits = {
"full.qpy": [generate_full_circuit()],
"unitary.qpy": [generate_unitary_gate_circuit()],
Expand Down

0 comments on commit 0410976

Please sign in to comment.