testsAndMisc/python_pkg/code_tutor
Krzysztof kuhy Rudnicki f11f9a3b5e
Some checks failed
Pre-commit checks / pre-commit (push) Waiting to run
Python tests / test (push) Has been cancelled
Make code_tutor OSError fingerprint test Python-version-robust
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
2026-07-11 00:22:57 +02:00
..
tests Make code_tutor OSError fingerprint test Python-version-robust 2026-07-11 00:22:57 +02:00
__init__.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
_analyzer.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
_challenge_support.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
_challenge.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
_llm.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
_plan_builder.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
_progress.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
_session.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
_verifier.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00
cli.py Add code_tutor: interactive codebase-learning CLI 2026-07-11 00:15:46 +02:00