Skip to content

docs: document that expose() with no groups raises TypeError - #39

Merged
lesnik512 merged 1 commit into
mainfrom
docs/expose-no-groups-typeerror
Sep 6, 2026
Merged

docs: document that expose() with no groups raises TypeError#39
lesnik512 merged 1 commit into
mainfrom
docs/expose-no-groups-typeerror

Conversation

@lesnik512

Copy link
Copy Markdown
Member

expose() raises TypeError when called with no groups (_collect_fixtures
guards it, and test_raises_when_called_with_no_groups covers it). The README's
## API section listed the ValueError for a cross-group duplicate name but not
this one, so a user reading the documented surface saw only half the error
contract.

Noticed while auditing the expose() paragraph in #38; left out of that PR as
unrelated to the behaviour fix.

Docs only, no behaviour change. Verified clean against docs/migrate-off-planning
(git merge-tree), which rewords the same paragraph.

@lesnik512
lesnik512 merged commit 11a0d11 into main Sep 6, 2026
6 checks passed
@lesnik512
lesnik512 deleted the docs/expose-no-groups-typeerror branch September 6, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant