Skip to content

Revert "Deprecate raising unittest.SkipTest to skip tests during collection" - #9710

Merged
bluetech merged 2 commits into
pytest-dev:mainfrom
bluetech:restore-unittest-skip-module
Feb 23, 2022
Merged

Revert "Deprecate raising unittest.SkipTest to skip tests during collection"#9710
bluetech merged 2 commits into
pytest-dev:mainfrom
bluetech:restore-unittest-skip-module

Conversation

@bluetech

Copy link
Copy Markdown
Member

This reverts commit 25e657b (pr #8242, see post-merge discussion there).

Turns out that this is a working unittest feature, which pytest should
support, so undo the deprecation.

@bluetech bluetech added the needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch label Feb 23, 2022
…ection"

This reverts commit 25e657b.

Turns out that this *is* a working unittest feature, which pytest should
support, so undo the deprecation.
@bluetech
bluetech force-pushed the restore-unittest-skip-module branch from 9fa6cb8 to df9929d Compare February 23, 2022 12:30
Comment thread doc/en/changelog.rst Outdated
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
@bluetech
bluetech merged commit 7b6e477 into pytest-dev:main Feb 23, 2022
@bluetech
bluetech deleted the restore-unittest-skip-module branch November 13, 2025 09:24
imgbot Bot pushed a commit to kkipngenokoech/pytest that referenced this pull request Apr 18, 2026
…ection" (pytest-dev#9710)

This reverts commit 25e657b.

Turns out that this *is* a working unittest feature, which pytest should
support, so undo the deprecation.
imgbot Bot pushed a commit to kkipngenokoech/pytest that referenced this pull request Apr 18, 2026
…ection" (pytest-dev#9710)

This reverts commit 25e657b.

Turns out that this *is* a working unittest feature, which pytest should
support, so undo the deprecation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs backport applied to PRs, indicates that it should be ported to the current bug-fix branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants