Skip to content

Commit

Permalink
Merge pull request #5732 from jenshnielsen/deprecate_tests
Browse files Browse the repository at this point in the history
Deprecate qcodes.tests module
  • Loading branch information
jenshnielsen authored Feb 8, 2024
2 parents 00d6c06 + 70ba4f6 commit 3861461
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/changes/newsfragments/5732.breaking
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The `qcodes.tests` module has been deprecated and will be removed in a future release. Please import mock instruments from
`qcodes.instrument_drivers.mock_instruments` and `DriverTestCase` from `qcodes.extensions` instead. If you make use of
any other part of the tests module please open an issue on GitHub.
7 changes: 7 additions & 0 deletions src/qcodes/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from qcodes.utils import issue_deprecation_warning

issue_deprecation_warning(
"`qcodes.tests` module",
"tests are no longer shipped with QCoDeS",
"`qcodes.instrument_drivers.mock_instruments` and `qcodes.extensions.DriverTestCase`",
)

0 comments on commit 3861461

Please sign in to comment.