Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error message for malformed pyproject.toml files #9732

Merged
merged 1 commit into from Mar 6, 2022

Conversation

nicoddemus
Copy link
Member

@nicoddemus nicoddemus commented Mar 5, 2022

Including the file name is enough to let the user know what the problem is.

The same is not needed for .ini files because their error message includes the path to the file by default.

Fix #9730

Including the file name is enough to let the user know what the problem is.

The same is not needed for `.ini` files because the error message includes the path to the file by default.

Fix pytest-dev#9730
@nicoddemus nicoddemus added the needs backport label Mar 5, 2022
Copy link
Member

@asottile asottile left a comment

@asottile asottile merged commit 843e018 into pytest-dev:main Mar 6, 2022
26 checks passed
@nicoddemus nicoddemus deleted the 9730-toml-failure branch Mar 6, 2022
@nicoddemus nicoddemus added the backport 7.0.x label Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 7.0.x needs backport
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants