Move tests to tests/, fix BINARY_OP for 3.12+#4
Move tests to tests/, fix BINARY_OP for 3.12+#4sjbaebae wants to merge 1 commit intocybertronai:devfrom
Conversation
- Move test files into tests/ directory with __init__.py - Add pyproject.toml with pytest configuration (pythonpath, testpaths) - Add BINARY_OP to strict tracer's opcode handler list (Python 3.12 replaced individual BINARY_ADD etc. with unified BINARY_OP) - Add TODO.md documenting known 3.12 f_trace_opcodes bug (python/cpython#103615) and future sys.monitoring migration path 32 tests pass, 1 known failure on CPython 3.12 (test_my_add_basic). All tests pass on 3.11 and 3.13+. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Seth's ClaudeCode reviewed the PR and had a suggestion: Nice fix — the One question: would it be worth just requiring Python 3.13+ and dropping 3.11/3.12 support entirely? The reasoning: 3.12 has the known The Our env is |
Summary
Test results
Test plan