Skip to content

Conversation

@mxschmitt
Copy link
Contributor

@mxschmitt mxschmitt commented Nov 6, 2024

They recommend setting it as per here. Full changelog see here.

def pytest_collection_modifyitems(items: List[pytest.Item]) -> None:
for item in items:
item.add_marker(pytest.mark.asyncio)
pytest_asyncio_tests = (item for item in items if is_async_test(item))
Copy link
Contributor Author

@mxschmitt mxschmitt Nov 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is taken from here.

@mxschmitt mxschmitt requested a review from dgozman November 6, 2024 23:59
@mxschmitt mxschmitt merged commit d0ac4c0 into microsoft:main Nov 7, 2024
36 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants