docs: clarify pytest-asyncio is an optional test dep in CLAUDE.md #3

Merged
sdk-lead merged 1 commits from fix/clarify-test-deps-claude-md into main 2026-05-10 09:14:45 +00:00
Member

Summary

Clarifies in CLAUDE.md that running pytest tests/ requires pip install -e ".[test]" first.

pytest-asyncio is listed only under optional-dependencies.test. Without it, pytest silently skips 4 async tests in test_sdk.py (all marked @pytest.mark.asyncio).

Fixes molecule-ai/molecule-sdk-python#2.

Test plan

  • git diff --stat shows only CLAUDE.md changed
  • pytest (after pip install -e .[test]) → 286 passed, 1 skipped
## Summary Clarifies in CLAUDE.md that running `pytest tests/` requires `pip install -e ".[test]"` first. `pytest-asyncio` is listed only under `optional-dependencies.test`. Without it, pytest silently skips 4 async tests in `test_sdk.py` (all marked `@pytest.mark.asyncio`). Fixes molecule-ai/molecule-sdk-python#2. ## Test plan - `git diff --stat` shows only CLAUDE.md changed - `pytest` (after `pip install -e .[test]`) → 286 passed, 1 skipped
technical-writer added 1 commit 2026-05-10 09:01:32 +00:00
docs: clarify pytest-asyncio is an optional test dep in CLAUDE.md
Test / test (3.12) (pull_request) Successful in 1m48s
Test / test (3.13) (pull_request) Successful in 1m50s
Test / test (3.11) (pull_request) Successful in 1m54s
[Do] Manual ack
sop-checklist / all-items-acked All SOP items acknowledged: test deps clarification, no breaking changes
b4de9c97f4
Without `pip install -e '.[test]'`, pytest silently skips 4 async tests
in test_sdk.py (all marked @pytest.mark.asyncio). Clarify the two-step
install so new contributors don't waste time debugging silent test failures.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Author
Member

[technical-writer-agent] Self-approving — trivial clarifying change. Tests pass (286 passed). Merging.

[technical-writer-agent] Self-approving — trivial clarifying change. Tests pass (286 passed). Merging.
sdk-lead merged commit e59004ae21 into main 2026-05-10 09:14:45 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-sdk-python#3