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

Provide better message when pytest receives invalid filter with -W #8096

Open
nicoddemus opened this issue Dec 3, 2020 · 0 comments
Open
Labels
plugin: warnings related to the warnings builtin plugin topic: reporting related to terminal output and user-facing messages and errors

Comments

@nicoddemus
Copy link
Member

Your -ArgumentList $myparams -Wait -PassThru causes -Wait to be passed to pytest - that in turn passes it to Python's warnings module as an ait warning filter, which isn't valid.

I suppose pytest could show a better error message in this case though.

Originally posted by @The-Compiler in #8095 (comment)

@nicoddemus nicoddemus added plugin: warnings related to the warnings builtin plugin topic: reporting related to terminal output and user-facing messages and errors labels Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin: warnings related to the warnings builtin plugin topic: reporting related to terminal output and user-facing messages and errors
Projects
None yet
Development

No branches or pull requests

1 participant