-
Notifications
You must be signed in to change notification settings - Fork 25
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
Fix test_sal_on_coco_dets failure being masked #143
Conversation
97185b8
to
d3637d1
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #143 +/- ##
=======================================
Coverage 99.87% 99.87%
=======================================
Files 57 57
Lines 2330 2339 +9
=======================================
+ Hits 2327 2336 +9
Misses 3 3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@stephencrowell Looks like you could probably register your GPG key with GitHub to get "verified" commits. |
d3637d1
to
e4218d6
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.
LGTM, thanks!
EDIT: @stephencrowell Can you fix the indent issue identified by the linter?
./tests/utils/test_sal_on_coco_dets.py:59:23: E128 continuation line under-indented for visual indent
./tests/utils/test_sal_on_coco_dets.py:82:23: E128 continuation line under-indented for visual indent
e4218d6
to
756a55f
Compare
Quality Gate passedIssues Measures |
LGTM, thanks! |
Tests encapsulated in tests/utils/test_sal_on_coco_dets.py are displaying a "PASS" in pytest's output, but actually raising an exception under the hood and yielding a non-zero return code. The test case was incorrect (including a
det
with noscore
orpred
value) and did not check the return code. This change fixes the test case and fixes the non-zero return code