Skip to content

Commit ee5e4b0

Browse files
committed
coverage
1 parent f886dfc commit ee5e4b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qibo/models/_encodings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,7 @@ def _sparse_encoder_farias(
14231423
except AttributeError:
14241424
type_test = bool("int" in str(type(data[0][0])))
14251425

1426-
if type_test and nqubits is None:
1426+
if type_test and nqubits is None: # pragma: no cover
14271427
raise_error(
14281428
ValueError,
14291429
"``nqubits`` must be specified when computational basis states are "

0 commit comments

Comments
 (0)