forked from Qiskit/qiskit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix warning on
__qiskit_version__
(Qiskit#10686)
* Fix warning on `__qiskit_version__` The warning emitted by the `QiskitVersion` class that backs the `__qiskit_version__` variable was previously set to warn on instantiation, not usage. This caused the warning to trigger during library import, rather than at the site of usage. * Add warning assertion to test
- Loading branch information
1 parent
60583f2
commit b726254
Showing
2 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters