You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: handle non-file stdio in tests by catching UnsupportedOperation
When sys.stdin/sys.stdout are monkeypatched with StringIO/BytesIO
(e.g. in unit tests), fileno() raises io.UnsupportedOperation.
Fall back to the original non-duping behavior in that case.
Fixes CI test failures on all Python versions.
0 commit comments