Commit 50d90b1
fix(claude-code): inherit shared tutorials pytest.ini so test_utils imports
The per-tutorial [tool.pytest.ini_options] block (only asyncio_mode="auto")
made pytest treat the tutorial's own pyproject.toml as the rootdir config, so
examples/tutorials/pytest.ini (pythonpath=.) was never discovered and
`from test_utils...` failed with ModuleNotFoundError in the live test.
asyncio_mode="auto" was redundant: every async test already uses an explicit
@pytest.mark.asyncio marker.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 594681d commit 50d90b1
3 files changed
Lines changed: 0 additions & 9 deletions
File tree
- examples/tutorials
- 00_sync/060_claude_code
- 10_async
- 00_base/130_claude_code
- 10_temporal/140_claude_code
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
0 commit comments