Skip to content

Fix OSError: [Errno 9] Bad file descriptor#42

Open
iglooom wants to merge 3 commits into
superm1:masterfrom
iglooom:master
Open

Fix OSError: [Errno 9] Bad file descriptor#42
iglooom wants to merge 3 commits into
superm1:masterfrom
iglooom:master

Conversation

@iglooom
Copy link
Copy Markdown
Contributor

@iglooom iglooom commented May 28, 2026

The with statement closes fd on exit, and fchown takes a bad descriptor.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 28, 2026

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.19%. Comparing base (eb5705c) to head (f1aed63).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/amd_debug/sleep_report.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #42   +/-   ##
=======================================
  Coverage   85.19%   85.19%           
=======================================
  Files          36       36           
  Lines        8119     8119           
  Branches      766      766           
=======================================
  Hits         6917     6917           
  Misses        980      980           
  Partials      222      222           

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

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.

1 participant