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

Test test_03_skipmsgs.py fails with pytest 4.2.0 and newer #34

Closed
RKrahl opened this issue Mar 9, 2019 · 0 comments
Closed

Test test_03_skipmsgs.py fails with pytest 4.2.0 and newer #34

RKrahl opened this issue Mar 9, 2019 · 0 comments
Labels
compatibility Issues about compatibility with libraries or other packages test suite Issues related with the test suite
Milestone

Comments

@RKrahl
Copy link
Owner

RKrahl commented Mar 9, 2019

When running the test suite with pytest 4.2.0 or newer, test test_03_skipmsgs.py fails.

The cause is the following: This test is supposed to check the skip messages generated from pytest-dependency. It searches lines matching something like SKIP * test_c depends on test_b in the test output. But in pytest 4.2.0 the corresponding line in the test output has been changed from

SKIP [1] [...]/pytest_dependency.py:88: test_c depends on test_b

to

SKIPPED [1] [...]/pytest_dependency.py:88: test_c depends on test_b

I believe the relevant change in pytest was in pytest-dev/pytest#4668.

@RKrahl RKrahl added the compatibility Issues about compatibility with libraries or other packages label Mar 9, 2019
@RKrahl RKrahl closed this as completed in 089395b Mar 9, 2019
@RKrahl RKrahl added this to the 0.5 milestone Jan 1, 2020
@RKrahl RKrahl added the test suite Issues related with the test suite label Feb 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Issues about compatibility with libraries or other packages test suite Issues related with the test suite
Projects
None yet
Development

No branches or pull requests

1 participant