Skip to content

Display py.test internal warnings #3746

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

Merged

Conversation

xordoquy
Copy link
Collaborator

This is pretty much the first step to ensure we don't skip some tests.
At the moment, it's not possible to mark them as errors (pytest-dev/pytest#1173) however, it's better to show them rather than leave them hidden.

In particular since we already have two of them which may break some tests:

WC1 [...]/django-rest-framework/tests/test_model_serializer.py cannot collect test class 'TestMetaClassModel' because it has a __init__ constructor
WC1 [...]/django-rest-framework/tests/browsable_api/test_browsable_nested_api.py cannot collect test class 'TestNestedSerializerSerializer' because it has a __init__ constructor

tomchristie added a commit that referenced this pull request Jan 14, 2016
…_warnings

Display py.test internal warnings
@tomchristie tomchristie merged commit 2ce3ab5 into encode:master Jan 14, 2016
@xordoquy xordoquy deleted the feature/display_internal_pytest_warnings branch January 20, 2016 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants