Skip to content

Commit 9a9e0a7

Browse files
Fix pyright error on os.waitid for Windows/macOS
1 parent adda84e commit 9a9e0a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/transports/stdio/test_lifecycle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def test_fallback_process_reports_death_through_returncode_without_a_wait_call()
228228
try:
229229
process = FallbackProcess(popen)
230230

231-
os.waitid(os.P_PID, popen.pid, os.WEXITED | os.WNOWAIT)
231+
os.waitid(os.P_PID, popen.pid, os.WEXITED | os.WNOWAIT) # pyright: ignore[reportAttributeAccessIssue, reportUnknownMemberType]
232232
assert process.returncode == 0
233233
finally:
234234
popen.stdin.close()

0 commit comments

Comments
 (0)