-
Notifications
You must be signed in to change notification settings - Fork 119
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
Better assertion in Python utils #3149
base: master
Are you sure you want to change the base?
Conversation
Quality Gate passedIssues Measures |
I agree with the motivation, but I'm not sure I see why this moves the
where One difference that might be unintended is that now an array of value does cause printing information for each entry. Rather it'll print something for the first value and then crash. |
✔️ 01feeb1 -> Azure artifacts URL |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3149 +/- ##
=======================================
Coverage 67.17% 67.17%
=======================================
Files 573 573
Lines 111439 111433 -6
=======================================
- Hits 74856 74855 -1
+ Misses 36583 36578 -5 ☔ View full report in Codecov by Sentry. |
It would be good to take care of this. |
It's a bit challenging to debug any potential failures in the Python tests if the failure is not asserted at the exact location, so it's better to fail early rather than propagating an error flag further.