Commit 11088e4
fix(tests): silence Windows mypy on os.fork / socket.AF_UNIX
The fork-safety and Unix-socket tests are guarded by
@pytest.mark.skipif(sys.platform == "win32"), but mypy still type-checks
the bodies on Windows where neither attribute exists. Match the
existing conftest pattern with `type: ignore[attr-defined, unused-ignore]`.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 101c646 commit 11088e4
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
| 369 | + | |
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| |||
429 | 429 | | |
430 | 430 | | |
431 | 431 | | |
432 | | - | |
| 432 | + | |
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
| |||
0 commit comments