-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Replace assert statements with ValueError #6877
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
base: master
Are you sure you want to change the base?
Replace assert statements with ValueError #6877
Conversation
@Gallaecio Unable to understand why these checks are failing. Can you please look into them |
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## master #6877 +/- ##
==========================================
- Coverage 90.86% 90.85% -0.02%
==========================================
Files 165 165
Lines 12583 12585 +2
Branches 1643 1645 +2
==========================================
Hits 11434 11434
- Misses 837 838 +1
- Partials 312 313 +1
|
@wRAR one check is still failing. Do I need to add tests for the changes i made? |
5228f86
to
853000f
Compare
I have added the test, but code coverage is still failing, don't understand why. |
The test is just for one of two places that were changed. The second place handles JSON values, so I think you can write a test that uses a JSON value that doesn't deserialize into a dict or list. |
Fix #6876