Commit 938adb9
test(python): mock process.platform to make marker tests cross-platform
PEP 508 marker tests assume a Linux/POSIX environment. On Windows,
the marker evaluator would include win32-gated packages, causing
fixture mismatches. Override process.platform to 'linux' for the
duration of the test suite so results are deterministic on any OS.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 220fcd6 commit 938adb9
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
590 | 591 | | |
591 | 592 | | |
592 | 593 | | |
593 | | - | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
0 commit comments