Skip to content
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

Remove duplicate seek test #593

Merged
merged 3 commits into from Mar 10, 2024
Merged

Conversation

DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented Dec 18, 2023

Function get_base_class_and_magic_number() already tests the value of seek, followed by a seek() call if needed. No need to duplicate the code in calling function read_mach_header().

Fixes #591 (comment).

Function `get_base_class_and_magic_number()` already tests the value
of `seek`, followed by a `seek()` call if needed. No need to duplicate
the code in calling function `read_mach_header()`.
@DimitriPapadopoulos DimitriPapadopoulos changed the title Remove deuplicate seek test Remove duplicate seek test Dec 18, 2023
Copy link

codecov bot commented Dec 18, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.02%. Comparing base (0624fc8) to head (adafc88).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #593      +/-   ##
==========================================
- Coverage   72.17%   72.02%   -0.15%     
==========================================
  Files          13       13              
  Lines        1071     1069       -2     
==========================================
- Hits          773      770       -3     
- Misses        298      299       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@agronholm agronholm merged commit e8d91cf into pypa:main Mar 10, 2024
19 of 20 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the read_mach_header branch March 10, 2024 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants