Skip to content

"Conditions as strings instead of booleans" docs act like pytest.config is still a thing #12377

@jwodder

Description

@jwodder

The documentation on "Conditions as strings instead of booleans" ends by showing how to rewrite a condition string that uses config as a boolean expression that uses pytest.config. However, as far as I can tell, pytest.config was removed in Pytest 5.1, yet the documentation makes no mention of this, and thus readers may be mislead into thinking that the "modern equivalent" of condition strings can be achieved by using pytest.config.

Metadata

Metadata

Assignees

Labels

type: docsdocumentation improvement, missing or needing clarification

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions