Skip to content

Conversation

@amureki
Copy link

@amureki amureki commented Dec 1, 2025

Greetings!

While updating to pytest 9, I noticed that docs here are not mentioning the support of the new TOML format, while it is there out of the box. So here is my PR to update the documentation about.

Reference:
https://docs.pytest.org/en/stable/changelog.html#pytest-9-0-0-2025-11-05

Cheers,
Rust

Update pyproject.toml examples to show the new `[tool.pytest]` native
TOML format introduced in pytest 9.0, while keeping `[tool.pytest.ini_options]`
for pytest 7.x/8.x compatibility.
Reference:
https://docs.pytest.org/en/stable/changelog.html#pytest-9-0-0-2025-11-05
Copy link
Member

@kingbuzzman kingbuzzman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @bluetech thoughts?

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.

2 participants