Skip to content

Commit

Permalink
Qiskit about code coverage (unitaryfund#606)
Browse files Browse the repository at this point in the history
* add pragma to ignore l44 and l46

* formatting
  • Loading branch information
purva-thakre authored Mar 19, 2021
1 parent 5cc0f6d commit 69c588b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mitiq/_about.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ def about() -> None:
except ImportError:
pyquil_version = "Not installed"
try:
from qiskit import __qiskit_version__
from qiskit import __qiskit_version__ # pragma: no cover

qiskit_version = __qiskit_version__["qiskit"]
qiskit_version = __qiskit_version__["qiskit"] # pragma: no cover
except ImportError:
qiskit_version = "Not installed"

Expand Down

0 comments on commit 69c588b

Please sign in to comment.