Skip to content

Commit b926fc1

Browse files
committed
Fix test
1 parent 0b46162 commit b926fc1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/qasm2/emit/test_qasm2_emit.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,7 @@ def multiline_then():
258258
return q
259259

260260
target = qasm2.emit.QASM2()
261-
262-
with pytest.raises(InterpreterError):
263-
target.emit(multiline_then)
261+
target.emit(multiline_then)
264262

265263
@qasm2.extended
266264
def valid_if():

0 commit comments

Comments
 (0)