Skip to content

Commit 0b1a721

Browse files
committed
Fix CI by checking for ValidationError
1 parent bd040ed commit 0b1a721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/pyqrack/test_target.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def measure_single_qubits():
141141

142142
assert result_single == result_reg == [reg.Measurement.One, reg.Measurement.One]
143143

144-
with pytest.raises(ir.TypeCheckError):
144+
with pytest.raises(ir.ValidationError):
145145

146146
@qasm2.main
147147
def measurement_that_errors():

0 commit comments

Comments
 (0)