diff --git a/pyproject.toml b/pyproject.toml index ef138c0999..4d2be40705 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -87,9 +87,6 @@ world_coords = "jwst.scripts.world_coords:main" [project.entry-points."stpipe.steps"] jwst = "jwst.stpipe.integration:get_steps" -[project.entry-points.pytest11] -report_crds_context = "pytest_crds.plugin" - [project.optional-dependencies] docs = [ "matplotlib", @@ -206,7 +203,6 @@ doctest_rst = "enabled" addopts = [ "-p no:legacypath", "--show-capture=no", - "--report-crds-context", "--color=yes", ] filterwarnings = [ diff --git a/pytest_crds/__init__.py b/pytest_crds/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/pytest_crds/plugin.py b/pytest_crds/plugin.py deleted file mode 100644 index c582300362..0000000000 --- a/pytest_crds/plugin.py +++ /dev/null @@ -1,13 +0,0 @@ -def pytest_addoption(parser): - parser.addoption("--report-crds-context", action="store_true", - help="Report CRDS context in test suite header") - - -def pytest_report_header(config): - """Add CRDS_CONTEXT to pytest report header""" - - if config.getoption("report_crds_context"): - from stpipe.crds_client import get_context_used - return f"crds_context: {get_context_used('jwst')}" - else: - return []