Skip to content

Create a safeguard module to import stdlib objects from #3290

@nicoddemus

Description

@nicoddemus

The rationale here being that users sometimes monkeypatch functions and objects from the standard library which can break pytest itself.

@RonnyPfannschmidt's idea from #3288 (comment).

Refs: #3288, #2180, #3352

Metadata

Metadata

Assignees

Labels

good first issueeasy issue that is friendly to new contributorplugin: monkeypatchrelated to the monkeypatch builtin pluginstatus: help wanteddevelopers would like help from experts on this topictype: bugproblem that needs to be addressed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions