| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Codecov ReportAll modified and coverable lines are covered by tests ✅ Additional details and impacted files @@ Coverage Diff @@
## main #2623 +/- ##
==========================================
- Coverage 91.99% 87.59% -4.41%
==========================================
Files 245 245
Lines 48495 48495
Branches 4261 4261
==========================================
- Hits 44612 42477 -2135
- Misses 3202 5297 +2095
- Partials 681 721 +40
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry.
|
Sorry, something went wrong.
There was a problem hiding this comment.
The purpose of this PR is to fix a pytest regression by removing the now-irrelevant ignore flag for PytestReturnNotNoneWarning from the CI configuration.
Sorry, something went wrong.
There was a problem hiding this comment.
I think it might be better to have an if-else structure which checks the PyTest version so it doesn't trip users up if they have a mismatched version
Sorry, something went wrong.
Well checks passing indicates that there aren't any tests returning non-None, so shouldn't be an issue (i.e. if this warning would come up in any prior version, then tests on the current version would fail). I imagine the warning was ignored for historical reasons and then never removed when tests were changed to not actually issue that warning |
Sorry, something went wrong.
|
Need to update the bound on pytest in requirements-testing.txt so it catches the new version with dependabot.
Can we be extra safe, enforce <8.4 (reqs above) for this PR to make sure of it, and if tests pass, update to. <8.5. From a quick search, we only have a few tests with an actual return statement, and they all return None, so it should be safe, but you never know with pytest. |
Sorry, something went wrong.
|
All checks passing with pytest<8.4, will set the bound back to <8.5 and should be good for merge? |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
There is a regression in pytest 8.4 from the undocumented removal of PytestReturnNotNoneWarning, which was previously ignored in CI via pytest.ini. This PR just removes the line that ignores that warning.