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

Fixed AttributeError: module 'pytest_cases' has no attribute 'CasesCollectionWarning' when running pytest-xdist and at least one cases class is ignored because of __init__ or __new__. … #267

Merged
merged 1 commit into from Mar 21, 2022

Conversation

smarie
Copy link
Owner

@smarie smarie commented Mar 21, 2022

The warning happens when at least one cases class is ignored because of __init__ or __new__.

Fixed #249

…CollectionWarning' when running `pytest-xdist` and at least one cases class is ignored because of `__init__` or `__new__`. Fixed #249
@smarie smarie merged commit 904b02a into main Mar 21, 2022
@smarie smarie deleted the feature/249_importerror_xdist_warning branch March 21, 2022 15:14
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.

module 'pytest_cases' has no attribute 'CasesCollectionWarning' when running with xdist enabled
1 participant