Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pytest.mark.asyncio warning #943

Merged
merged 1 commit into from
Nov 22, 2023
Merged

Conversation

adamchainz
Copy link
Contributor

Fix this warning in the test suite:

test_auth_async.py::test_async_authenticate_method_in_sync_context
  test_auth_async.py:142: PytestWarning: The test <Function test_async_authenticate_method_in_sync_context> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove asyncio marker. If the test is not marked explicitly, check for global markers applied via 'pytestmark'.
    @pytest.mark.skipif(django.VERSION < (3, 1), reason="requires django 3.1 or higher")

@vitalik vitalik merged commit 3bf7225 into vitalik:master Nov 22, 2023
39 of 40 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