DeprecationWarning triggered in _pytest.tmpdir use of attr #4507
Labels
good first issue
easy issue that is friendly to new contributor
plugin: tmpdir
related to the tmpdir builtin plugin
type: refactoring
internal improvements to the code
This line:
pytest/src/_pytest/tmpdir.py
Line 34 in 60599b6
Uses a deprecated feature of
attr
:https://github.com/python-attrs/attrs/blob/6a3458f2c22dcdbe6d6eac51b60b8a006447e85d/src/attr/_make.py#L187
You can see this being triggered when running with
-Werror
and suppressingpytest
's otherDeprecationWarning
(#1403).https://travis-ci.org/johnthagen/python-blueprint/jobs/462520895
This would be great to fix so that users could more easily run
pytest
with-Werror
and catch warnings in their own code.The text was updated successfully, but these errors were encountered: