This repository was archived by the owner on Nov 11, 2025. It is now read-only.
Ignore unavoidable warning about private pytest classes#52
Merged
nicoddemus merged 4 commits intopytest-dev:mainfrom Oct 11, 2021
Merged
Ignore unavoidable warning about private pytest classes#52nicoddemus merged 4 commits intopytest-dev:mainfrom
nicoddemus merged 4 commits intopytest-dev:mainfrom
Conversation
for more information, see https://pre-commit.ci
…ubtests into fix-private-warning
Member
|
Agreed, thanks @kalekundert! |
nicoddemus
added a commit
to nicoddemus/pytest-subtests
that referenced
this pull request
Jan 15, 2022
kraj
pushed a commit
to YoeDistro/meta-openembedded
that referenced
this pull request
Jan 17, 2022
0.6.0 (2022-01-15) * pytest>=6.0 is now required. * Added official support for Python 3.10. * Dropped support for Python 3.5. * Users no longer need to configure a warnings filter for the internal A private pytest class or function was used pytest warning (openembedded#52). * Experimental: Use SUBPASS and , for passed subtests instead of general PASSED, SUBFAIL and u for failed ones instead of FAILED (openembedded#30). References: pytest-dev/pytest-subtests#52 pytest-dev/pytest-subtests#30 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
halstead
pushed a commit
to openembedded/meta-openembedded
that referenced
this pull request
Jan 18, 2022
0.6.0 (2022-01-15) * pytest>=6.0 is now required. * Added official support for Python 3.10. * Dropped support for Python 3.5. * Users no longer need to configure a warnings filter for the internal A private pytest class or function was used pytest warning (#52). * Experimental: Use SUBPASS and , for passed subtests instead of general PASSED, SUBFAIL and u for failed ones instead of FAILED (#30). References: pytest-dev/pytest-subtests#52 pytest-dev/pytest-subtests#30 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
sgunin
pushed a commit
to sgunin/oe-meta-openembedded-contrib
that referenced
this pull request
Mar 17, 2024
0.6.0 (2022-01-15) * pytest>=6.0 is now required. * Added official support for Python 3.10. * Dropped support for Python 3.5. * Users no longer need to configure a warnings filter for the internal A private pytest class or function was used pytest warning (#52). * Experimental: Use SUBPASS and , for passed subtests instead of general PASSED, SUBFAIL and u for failed ones instead of FAILED (#30). References: pytest-dev/pytest-subtests#52 pytest-dev/pytest-subtests#30 Signed-off-by: Tim Orling <tim.orling@konsulko.com>
sgunin
pushed a commit
to sgunin/oe-meta-openembedded-contrib
that referenced
this pull request
Mar 17, 2024
0.6.0 (2022-01-15) * pytest>=6.0 is now required. * Added official support for Python 3.10. * Dropped support for Python 3.5. * Users no longer need to configure a warnings filter for the internal A private pytest class or function was used pytest warning (#52). * Experimental: Use SUBPASS and , for passed subtests instead of general PASSED, SUBFAIL and u for failed ones instead of FAILED (#30). References: pytest-dev/pytest-subtests#52 pytest-dev/pytest-subtests#30 Signed-off-by: Tim Orling <tim.orling@konsulko.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The README for this repository currently recommends configuring the
pytest.filterwarningssetting to ignore a warning generated by this plugin. This doesn't seem like something end-users should have to deal with, so this PR adds some code to ignore the warning on the exact lines that can trigger it.