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

Remove pattern try...except from tests #322

Merged
merged 1 commit into from
Apr 12, 2024
Merged

Conversation

nhuet
Copy link
Contributor

@nhuet nhuet commented Apr 5, 2024

Some tests where capturing errors in a try...except and only printing the erroir instead of letting the whole traceback. This complexify the debugging and does not change how pytest handle tests (namely performing all tests even if some fail).

So we simplify the testing process by removing the surrounding try...except.

Some tests where capturing errors in a try...except and only printing
the erroir instead of letting the whole traceback. This complexify the
debugging and does not change how pytest handle tests (namely performing
all tests even if some fail).

So we simplify the testing process by removing the surrounding
try...except.
@fteicht fteicht self-assigned this Apr 12, 2024
@fteicht fteicht added the enhancement New feature or request label Apr 12, 2024
@fteicht fteicht merged commit 03d7fe9 into airbus:master Apr 12, 2024
43 checks passed
@nhuet nhuet deleted the tryexcept branch April 15, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants