Skip to content

Commit 4bf8982

Browse files
Bump pytest-asyncio from 0.16.0 to 0.18.3 (#147)
* Bump pytest-asyncio from 0.16.0 to 0.18.3 Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.16.0 to 0.18.3. - [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) - [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst) - [Commits](pytest-dev/pytest-asyncio@v0.16.0...v0.18.3) --- updated-dependencies: - dependency-name: pytest-asyncio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Set pytest asyncio_mode * Remove @pytest.mark.asyncio decorator, applied automatically Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <[email protected]>
1 parent c753203 commit 4bf8982

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tool.pytest.ini_options]
2+
asyncio_mode = "auto" # https://github.com/pytest-dev/pytest-asyncio#modes

requirements_test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ mypy==0.942
33
pre-commit==2.18.1
44
pylint==2.13.5
55
pytest==7.1.1
6-
pytest-asyncio==0.16.0
6+
pytest-asyncio==0.18.3
77
types-aiofiles==0.8.6

tests/test_main.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ async def async_test_main(
5353
assert filename in capsys.readouterr().out
5454

5555

56-
@pytest.mark.asyncio
5756
@pytest.mark.parametrize(
5857
('filename', 'control', 'argv', 'returncode'),
5958
(
@@ -109,7 +108,6 @@ async def test_main(
109108
await async_test_main(filename, control, argv, returncode, capsys)
110109

111110

112-
@pytest.mark.asyncio
113111
@pytest.mark.parametrize(
114112
('filename', 'control', 'argv', 'returncode'),
115113
(
@@ -145,7 +143,6 @@ async def test_main_type_alias(
145143
await async_test_main(filename, control, argv, returncode)
146144

147145

148-
@pytest.mark.asyncio
149146
@pytest.mark.parametrize(
150147
('filename', 'control', 'argv', 'returncode'),
151148
(
@@ -211,7 +208,6 @@ async def test_main_comment(
211208
await async_test_main(filename, control, argv, returncode, capsys)
212209

213210

214-
@pytest.mark.asyncio
215211
@pytest.mark.parametrize(
216212
('filename', 'control', 'argv', 'returncode'),
217213
(
@@ -256,7 +252,6 @@ async def test_main_comment_no_issue(
256252
await async_test_main(filename, control, argv, returncode)
257253

258254

259-
@pytest.mark.asyncio
260255
@pytest.mark.parametrize(
261256
('filename', 'control', 'argv', 'returncode'),
262257
(
@@ -291,7 +286,6 @@ async def test_main_comment_import_no_issue(
291286
await async_test_main(filename, control, argv, returncode)
292287

293288

294-
@pytest.mark.asyncio
295289
@pytest.mark.parametrize(
296290
('filename', 'control', 'argv', 'returncode'),
297291
(
@@ -367,7 +361,6 @@ async def test_main_unused_import(
367361
await async_test_main(filename, control, argv, returncode, capsys)
368362

369363

370-
@pytest.mark.asyncio
371364
@pytest.mark.parametrize(
372365
('filename', 'control', 'argv', 'returncode'),
373366
(
@@ -443,7 +436,6 @@ async def test_main_unused_import_comment(
443436
await async_test_main(filename, control, argv, returncode, capsys)
444437

445438

446-
@pytest.mark.asyncio
447439
@pytest.mark.parametrize(
448440
('filename', 'control', 'argv', 'returncode'),
449441
(

0 commit comments

Comments
 (0)