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

tests: move pytest-asyncio dependency in tests/requirements-base.txt #575

Merged
merged 1 commit into from
Sep 2, 2023

Conversation

azmeuk
Copy link
Collaborator

@azmeuk azmeuk commented Sep 1, 2023

This prevents this warnings on some tox test environments:

.tox/py311-django/lib/python3.11/site-packages/_pytest/config/__init__.py:1373
  /home/eloi/dev/authlib/.tox/py311-django/lib/python3.11/site-packages/_pytest/config/__init__.py:1373: PytestConfigWarning: Unknown config option: asyncio_mode

    self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")

These warnings appears because this configuration is shared across all the tox environments:

authlib/tox.ini

Lines 27 to 28 in eaa51a8

[pytest]
asyncio_mode = auto

@lepture lepture merged commit 796e587 into lepture:master Sep 2, 2023
6 checks passed
@azmeuk azmeuk deleted the pytest-asyncio branch September 2, 2023 10:41
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