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 use of pytest-openfiles #90

Merged
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
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
0.5.0 (unreleased)
==================

- Remove use of deprecated ``pytest-openfiles`` ``pytest`` plugin. This has been replaced by
catching ``ResourceWarning`` s. [#90]

0.4.6 (2023-03-27)
==================

Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ docs = [
test = [
'pytest >=7.0.0',
'pytest-doctestplus >=0.10.0',
'pytest-openfiles >=0.5.0',
]

[project.urls]
Expand Down Expand Up @@ -67,13 +66,16 @@ minversion = 4.6
doctest_plus = true
doctest_rst = true
text_file_format = 'rst'
addopts = '--open-files'
addopts = ''
norecursedirs = [
'src/stpipe/extern',
]
testpaths = [
'tests',
]
filterwarnings = [
"error::ResourceWarning",
]

[tool.ruff]
select = [
Expand Down