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

Moved pytest.xfail to pytest.mark.xfail #1376

Merged
merged 2 commits into from
Jul 8, 2019

Conversation

kclowes
Copy link
Collaborator

@kclowes kclowes commented Jul 3, 2019

What was wrong?

pytest.xfail makes the test unconditionally xfail, and no code after the xfail is run. The @pytest.mark.xfail decorator lets the test run.

Related to Issue #1341

How was it fixed?

Added @pytest.mark.xfail where appropriate, and removed xfails on tests that are passing

Cute Animal Picture

download-1

@kclowes kclowes force-pushed the pytest-mark-xfail branch 2 times, most recently from fac146f to e5373e8 Compare July 8, 2019 19:09
@kclowes kclowes force-pushed the pytest-mark-xfail branch from e5373e8 to c1a5536 Compare July 8, 2019 19:23
@kclowes kclowes changed the title [WIP] Moved pytest.xfail to pytest.mark.xfail Moved pytest.xfail to pytest.mark.xfail Jul 8, 2019
@kclowes kclowes requested a review from pipermerriam July 8, 2019 19:36
@kclowes kclowes merged commit 2407ad5 into ethereum:master Jul 8, 2019
@kclowes kclowes deleted the pytest-mark-xfail branch July 8, 2019 20:50
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