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

pytests: Ignore log errors/warnings per function. #371

Closed

Conversation

ylavic
Copy link
Member

@ylavic ylavic commented Jul 7, 2023

It's easier to control errors at the function scope and it avoids ignored errors/warnings to propagate to the following tests (i.e. mask further unexpected errors).

@ylavic
Copy link
Member Author

ylavic commented Jul 7, 2023

@icing Does this work for you?

It's easier to control errors at the function scope and it avoids
ignored errors/warnings to propagate to the following tests (i.e. mask
further unexpected errors).
@ylavic ylavic force-pushed the pytests-check_error_log_at_function_scope branch from dd1cbec to 71c8502 Compare July 7, 2023 00:39
@icing
Copy link
Contributor

icing commented Jul 7, 2023

Good idea, excellent!

@asfgit asfgit closed this in ac62281 Jul 7, 2023
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