Commit 4230e98
committed
Fix Windows CI: Add global mock for os.getloadavg
- Add conftest.py with autouse fixture to mock os.getloadavg on Windows
- Ensures all tests work on platforms without getloadavg function
- Mock only applies when getloadavg is not available (Windows)
- All existing tests continue to pass1 parent ae7fd2a commit 4230e98
1 file changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments