-
Notifications
You must be signed in to change notification settings - Fork 652
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
Addition of pytest
case for not None
values for frames
and start
/stop
/step
#4769
base: develop
Are you sure you want to change the base?
Addition of pytest
case for not None
values for frames
and start
/stop
/step
#4769
Conversation
Added pytest case where both frames and start/stop/step are present to raise valueerror
Updated changelog to add coverage of raise error case where frames and start/stop/step are present
Hello @talagayev! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2024-10-28 09:06:37 UTC |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #4769 +/- ##
========================================
Coverage 93.66% 93.66%
========================================
Files 177 177
Lines 21726 21726
Branches 3052 3052
========================================
Hits 20349 20349
Misses 930 930
Partials 447 447 ☔ View full report in Codecov by Sentry. |
pytest
case for not None
values for frames
and start
/stop
/step
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 @talagayev!
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.
Happy to discuss this further, but would prefer if we didn't fill up the changelog with small test changes.
removed Changelog change
now that I was working on a different Issue I noticed that |
Fixes #4648
Changes made in this Pull Request:
pytest
case intest_base.py
to cover the case whereframes
andstart
/stop
/step
are both specified as notNone
, leading to anValueError
PR Checklist
Developers certificate of origin
📚 Documentation preview 📚: https://mdanalysis--4769.org.readthedocs.build/en/4769/