Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove legacy qcodes.tests module #6480

Merged
merged 3 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/changes/newsfragments/6480.breaking
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The deprecated `qcodes.tests` module has been removed. Mock instruments can be found in `qcodes.instrument_drivers.mock_instruments` and
DriverTestCase as `qcodes.extensions.DriverTestCase`.
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ log_exported_ds = "qcodes.extensions:log_dataset_export_info"
omit = [
"src/qcodes/__init__.py",
"*/__init__.py",
"src/qcodes/tests/*",
]
[tool.coverage.report]
exclude_lines = [
Expand Down Expand Up @@ -171,7 +170,6 @@ strict_equality = true
[[tool.mypy.overrides]]
module = [
"tests.*",
"qcodes.tests.*",
"qcodes.instrument.mockers.ami430",
"qcodes.instrument_drivers.Harvard.*",
"qcodes.instrument_drivers.Keysight.keysightb1500.message_builder.*",
Expand Down Expand Up @@ -295,9 +293,7 @@ known-first-party = ["qcodes"]

# TID253 these imports are fine at module level
# in tests and examples
# D417 no need to fix in deprecated module
"docs/*" = ["TID253"]
"src/qcodes/tests/*" = ["TID253", "D417"]
"tests/*" = ["TID253"]

[tool.ruff.lint.flake8-tidy-imports]
Expand Down
7 changes: 0 additions & 7 deletions src/qcodes/tests/__init__.py

This file was deleted.

244 changes: 0 additions & 244 deletions src/qcodes/tests/common.py

This file was deleted.

Loading
Loading