Commit graph

4 commits

Author SHA1 Message Date
pre-commit-ci[bot]
73719358f1 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-11-29 02:44:14 +00:00
Michael R. Wolf
b5bd1c01d4 Add runtime tests for xargs with blocked sysconf
- Add test for xargs without _max_length parameter (lazy evaluation)
- Add test for xargs with explicit _max_length parameter
- Both tests use subprocess approach to verify actual xargs execution
- Tests verify fix works at runtime, not just import time
2025-11-28 21:27:40 -05:00
Michael R. Wolf
6cd92aa910 Refactor xargs blocked sysconf test for clarity
- Add module-level docstring
- Extract subprocess script into helper function
- Add constant for blocked sysconf error message
- Improve test docstring explaining two-phase approach
- Add inline comments clarifying test orchestration
- Remove TODO comments
2025-11-28 19:32:42 -05:00
Michael R. Wolf
f1ae67c117 Add test for xargs import with blocked sysconf
- Add subprocess-based test to expose import-time os.sysconf bug
- Test runs in fresh subprocess to avoid conftest.py import issues
- Test fails with current buggy implementation, will pass after fix
2025-11-28 19:15:16 -05:00