Skip to content

Commit 068c2dc

Browse files
build: update pytest and add pytest-asyncio
pytest-asyncio is a well-maintained library by the pytest team to add asyncio support for pytest
1 parent 4d0a3d3 commit 068c2dc

File tree

2 files changed

+29
-9
lines changed

2 files changed

+29
-9
lines changed

poetry.lock

Lines changed: 26 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ approvaltests = "^12.1.0"
4949

5050
[tool.poetry.dev-dependencies]
5151
pre-commit = "^3.2.1"
52-
pytest = "^7.2.2"
5352
pytest-cov = "^4.0.0"
5453
pytest-mock = "^3.11.1"
5554

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

5958
[tool.poetry.group.dev.dependencies]
6059
ruff = "^0.7.3"
60+
pytest = "^8.3.4"
61+
pytest-asyncio = "^0.25.2"
6162

6263
[build-system]
6364
requires = ["poetry-core"]
@@ -83,3 +84,4 @@ select = [
8384
[tool.pytest.ini_options]
8485
testpaths = ["tests"]
8586
filterwarnings = ["ignore::DeprecationWarning"]
87+
asyncio_default_fixture_loop_scope = "function"

0 commit comments

Comments
 (0)