-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
collect: python: fix AssertionError
with broken symlinks
#4784
Conversation
Should we remove the asserts, but only keep them in features? |
Codecov Report
@@ Coverage Diff @@
## master #4784 +/- ##
==========================================
+ Coverage 95.44% 95.66% +0.22%
==========================================
Files 113 113
Lines 25041 25054 +13
Branches 2486 2488 +2
==========================================
+ Hits 23900 23968 +68
+ Misses 806 767 -39
+ Partials 335 319 -16
Continue to review full report at Codecov.
|
b3c069b
to
9e9a3a7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @blueyed!
About the assert
, I should have been more clear: we should avoid plain asserts, because when they fail they don't add any useful information. Asserts where we pass along a failure message should be fine. 👍
Fixes #4782.