mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-11 00:07:03 +01:00
test_codebase_fingerprint_stat_oserror_raises passed on 3.14 but failed on CI's 3.11: there Path.is_file() itself calls stat() and re-raises an OSError without a recognized errno, so the injected error escaped before the loop reached the guarded path.stat() call. Force is_file() True for the target (without calling stat) so the explicit fingerprint-time stat() deterministically raises and hits the except OSError branch on every Python version. Verified passing on 3.11.11 and 3.14. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017RRCdR4D8SaVrN2xraMQxM |
||
|---|---|---|
| .. | ||
| brother_printer | ||
| code_tutor | ||
| live_calc | ||
| morning_routine | ||
| random_jpg | ||
| shared | ||
| tests | ||
| __init__.py | ||
| .gitignore | ||
| conftest.py | ||