Skip to content

reraise termios.error as OSError - #117

Open
tomleglaunec wants to merge 1 commit into
puddly:devfrom
tomleglaunec:fix_termios_error
Open

reraise termios.error as OSError#117
tomleglaunec wants to merge 1 commit into
puddly:devfrom
tomleglaunec:fix_termios_error

Conversation

@tomleglaunec

Copy link
Copy Markdown

Greatly inspired by #114, termios.errorderives from Exception rather than OSError. Wraps termios functions to raise OSError with correct errno and strerrno.
Mostly encountered this issue when reopening socat ttys, but I get hard times reproducing the error on non-containered environments.

@codecov

codecov Bot commented Sep 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.95%. Comparing base (5be57ef) to head (d1f11e2).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #117      +/-   ##
==========================================
+ Coverage   92.90%   92.95%   +0.04%     
==========================================
  Files          23       24       +1     
  Lines        3850     3876      +26     
==========================================
+ Hits         3577     3603      +26     
  Misses        273      273              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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