Skip to content

Commit 285f81b

Browse files
authored
Merge pull request #51 from ProtixIT/pytest-9
Update pytest to 9.x and pytest-cov to 7.x
2 parents 49b925e + 1825d1f commit 285f81b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ tomli = {version = "^2.0.1", python = "<3.11"}
2424
[tool.poetry.group.dev.dependencies]
2525
pre-commit = "^4.5.0"
2626
mypy = "^1.5"
27-
pytest = "^7.2.0"
28-
pytest-cov = "^4.0.0"
27+
pytest = "^9.0.0"
28+
pytest-cov = "^7.0.0"
2929
ruff = "0.14.6"
3030

3131
[tool.poetry.group.coverage.dependencies]

src/dataclass_binder/_impl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ def get_field_docstrings(dataclass: type[Any]) -> Mapping[str, str]:
870870
scope = name
871871
case ast.Expr(value=ast.Constant(value=str(docstring))):
872872
if scope is None:
873-
# When using 'scope is not None', Coverage 6.4.4 will consider the 'is None' branch uncovered.
873+
# When using 'scope is not None', Coverage 7.12.0 will consider the 'is None' branch uncovered.
874874
pass
875875
else:
876876
docstrings[scope] = cleandoc(docstring)

0 commit comments

Comments
 (0)