Skip to content

Improve error message when using pytest.skip at module level#1971

Closed
Nikratio wants to merge 1 commit intopytest-dev:masterfrom
Nikratio:patch-1
Closed

Improve error message when using pytest.skip at module level#1971
Nikratio wants to merge 1 commit intopytest-dev:masterfrom
Nikratio:patch-1

Conversation

@Nikratio
Copy link
Copy Markdown
Contributor

The current message can be read to imply that only the use of pytest.skip as top-level decorator is intentionally disabled, but that imperative test skipping is supposed to work.

Fixes issue #1959.

Copy link
Copy Markdown
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Could you fix the tests please?

@Nikratio
Copy link
Copy Markdown
Contributor Author

Nikratio commented Oct 1, 2016

Sorry, that takes more time than I'm willing to invest into a trivial language fix.

@nicoddemus
Copy link
Copy Markdown
Member

nicoddemus commented Oct 1, 2016

No worries, thanks anyway! I will take it from here.

@nicoddemus nicoddemus mentioned this pull request Oct 1, 2016
@nicoddemus
Copy link
Copy Markdown
Member

Superseded by #1975 (I rebased your commit, hope you don't mind)

@nicoddemus nicoddemus closed this Oct 1, 2016
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