From 40cec637d7b9faf7f3794cd6c71517f98704c817 Mon Sep 17 00:00:00 2001 From: "R. Alex Matevish" Date: Thu, 14 Feb 2019 00:03:41 -0800 Subject: [PATCH] Update kwarg for attr.ib to use 'converter' as 'convert' is due to be deprecated --- src/_pytest/tmpdir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_pytest/tmpdir.py b/src/_pytest/tmpdir.py index 843c8ca37b..4d109cc2bb 100644 --- a/src/_pytest/tmpdir.py +++ b/src/_pytest/tmpdir.py @@ -31,7 +31,7 @@ class TempPathFactory(object): # using os.path.abspath() to get absolute path instead of resolve() as it # does not work the same in all platforms (see #4427) # Path.absolute() exists, but it is not public (see https://bugs.python.org/issue25012) - convert=attr.converters.optional( + converter=attr.converters.optional( lambda p: Path(os.path.abspath(six.text_type(p))) ) )