From 8c4ad40f9aa31c7467a76d44ea42cf9c074606fc Mon Sep 17 00:00:00 2001 From: Zach Burnett Date: Tue, 1 Nov 2022 11:12:50 -0400 Subject: [PATCH] fix deprecation warnings --- romancal/conftest.py | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/romancal/conftest.py b/romancal/conftest.py index 81d75bff7..24d8fc608 100644 --- a/romancal/conftest.py +++ b/romancal/conftest.py @@ -77,7 +77,7 @@ def jail(request, tmpdir_factory): os.chdir(old_dir) -@pytest.mark.trylast +@pytest.hookimpl(trylast=True) def pytest_configure(config): terminal_reporter = config.pluginmanager.getplugin('terminalreporter') config.pluginmanager.register(TestDescriptionPlugin(terminal_reporter), 'testdescription') diff --git a/setup.cfg b/setup.cfg index 4e81fa057..1ee81bf55 100644 --- a/setup.cfg +++ b/setup.cfg @@ -81,7 +81,7 @@ show-response = 1 [tool:pytest] minversion = 4.6 -norecursedirs = docs/_build scripts .tox +norecursedirs = docs/_build scripts .tox build asdf_schema_tests_enabled = true asdf_schema_validate_default = false asdf_schema_root = romancal/datamodels/schemas