Skip to content

Commit

Permalink
Merge pull request #6480 from jenshnielsen/remove_legacy_tests
Browse files Browse the repository at this point in the history
Remove legacy qcodes.tests module
  • Loading branch information
jenshnielsen authored Oct 4, 2024
2 parents 5653a4f + 967dc61 commit ae9a0e6
Show file tree
Hide file tree
Showing 43 changed files with 2 additions and 2,905 deletions.
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

0 comments on commit ae9a0e6

Please sign in to comment.