Skip to content

Create a safeguard module to import stdlib objects from #3290

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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