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
Incompatible with pytest-mypy-plugins
(3.10 version)
#378
Comments
adamchainz
added a commit
that referenced
this issue
Aug 13, 2021
adamchainz
added a commit
that referenced
this issue
Aug 13, 2021
Fix released in 3.10.1. The issue was that your test items have the same test ID's, and the original sort would progres from the equal keys to comparing the items themselves. You might want to adjust the loaded test id's from your plugin. |
Thanks a lot for the quick fix! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Python Version
3.8.11
Package Version
3.10
Description
I am trying to update
pytest-randomly
from3.8
to3.10
. But my test suite now fails:Link: https://github.com/dry-python/returns/pull/1021/checks?check_run_id=3322840792
I guess this happens because we use
pytest-mypy-plugins
where we define our tests inyml
files, example: https://github.com/dry-python/returns/blob/master/typesafety/test_functions/test_tap.ymlSteps to reproduce:
poetry install
poetry run pip install 'pytest-randomly==3.10.0'
poetry run pytest typesafety -p no:cov -o addopts="" --mypy-ini-file=setup.cfg
: https://github.com/dry-python/returns/blob/master/.github/workflows/test.yml#L67The text was updated successfully, but these errors were encountered: