Skip to content

Commit

Permalink
build: update pytest and add pytest-asyncio
Browse files Browse the repository at this point in the history
pytest-asyncio is a well-maintained library by the pytest team to add
asyncio support for pytest
  • Loading branch information
matthiasschaub committed Jan 17, 2025
1 parent 4d0a3d3 commit 068c2dc
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 9 deletions.
34 changes: 26 additions & 8 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ approvaltests = "^12.1.0"

[tool.poetry.dev-dependencies]
pre-commit = "^3.2.1"
pytest = "^7.2.2"
pytest-cov = "^4.0.0"
pytest-mock = "^3.11.1"

Expand All @@ -58,6 +57,8 @@ pytest-mock = "^3.11.1"

[tool.poetry.group.dev.dependencies]
ruff = "^0.7.3"
pytest = "^8.3.4"
pytest-asyncio = "^0.25.2"

[build-system]
requires = ["poetry-core"]
Expand All @@ -83,3 +84,4 @@ select = [
[tool.pytest.ini_options]
testpaths = ["tests"]
filterwarnings = ["ignore::DeprecationWarning"]
asyncio_default_fixture_loop_scope = "function"

0 comments on commit 068c2dc

Please sign in to comment.