Skip to content

Commit 530ad51

Browse files
committed
Lint
1 parent 8596cdf commit 530ad51

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

test/python/visualization/test_circuit_text_drawer.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -404,12 +404,14 @@ def test_box_end_after_transpile(self):
404404
qc = QuantumCircuit(5)
405405
qc = QuantumCircuit(4)
406406
with qc.box():
407-
qc.cx(0,1)
408-
qc.cx(0,3)
407+
qc.cx(0, 1)
408+
qc.cx(0, 3)
409409

410-
qc_ = transpile(qc, initial_layout=[2,3,1,0])
410+
qc_ = transpile(qc, initial_layout=[2, 3, 1, 0])
411411
# We don't care about trailing whitespace on a line.
412-
actual = "\n".join(line.rstrip() for line in str(qc_.draw("text", fold=80, idle_wires=True)).splitlines())
412+
actual = "\n".join(
413+
line.rstrip() for line in str(qc_.draw("text", fold=80, idle_wires=True)).splitlines()
414+
)
413415

414416
expected = """\
415417
┌─────── ┌───┐ ───────┐

0 commit comments

Comments
 (0)