File tree Expand file tree Collapse file tree
qualtran/surface_code/flasq Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ def _cbloq_measurement_depth(
201201 else : # pragma: no cover
202202 # This case should ideally not be reached with valid CompositeBloqs
203203 logger .warning (
204- "Unexpected node type %s found in binst_graph for %s. " " Assigning 0 depth." ,
204+ "Unexpected node type %s found in binst_graph for %s. Assigning 0 depth." ,
205205 type (node ),
206206 cbloq ,
207207 )
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ def test_mul_wrong_type_raises(self):
184184 """Multiplying by a non-numeric type should raise TypeError (L105-107)."""
185185 gs = GateSpan (connect_span = 1 , compute_span = 1 )
186186 with pytest .raises (TypeError , match = "Can only multiply" ):
187- gs * "bad"
187+ _ = gs * "bad"
188188
189189 def test_mul_by_sympy_expr (self ):
190190 """Multiplying by a sympy expression should work."""
You can’t perform that action at this time.
0 commit comments