-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Create a safeguard module to import stdlib objects from #3290
Copy link
Copy link
Closed
Labels
good first issueeasy issue that is friendly to new contributoreasy issue that is friendly to new contributorplugin: monkeypatchrelated to the monkeypatch builtin pluginrelated to the monkeypatch builtin pluginstatus: help wanteddevelopers would like help from experts on this topicdevelopers would like help from experts on this topictype: bugproblem that needs to be addressedproblem that needs to be addressed
Metadata
Metadata
Assignees
Labels
good first issueeasy issue that is friendly to new contributoreasy issue that is friendly to new contributorplugin: monkeypatchrelated to the monkeypatch builtin pluginrelated to the monkeypatch builtin pluginstatus: help wanteddevelopers would like help from experts on this topicdevelopers would like help from experts on this topictype: bugproblem that needs to be addressedproblem that needs to be addressed
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