Skip to content

Commit

Permalink
Merge pull request #90 from WilliamJamieson/bugfix/pytest-openfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamJamieson committed Apr 9, 2023
2 parents 4eeb7aa + 2a05ea0 commit e5aca99
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
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

0 comments on commit e5aca99

Please sign in to comment.