Skip to content

refactor src/_pytest/config/__init__.py to use the warnings module #7295

Closed
@gnikonorov

Description

@gnikonorov

Currently src/_pytest/config/__init__.py uses sys.stderr.write to output warnings. Building off of #7286, we should refactor this file to use the warnings module instead once the aforementioned PR is merged in

Metadata

Metadata

Assignees

Labels

topic: reportingrelated to terminal output and user-facing messages and errorstype: refactoringinternal improvements to the code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions