diff --git a/_pytest/pytester.py b/_pytest/pytester.py index 54dd8a2be..060924edc 100644 --- a/_pytest/pytester.py +++ b/_pytest/pytester.py @@ -360,7 +360,7 @@ class TmpTestdir: return items, rec[0] def parseconfig(self, *args): - args = map(str, args) + args = [str(x) for x in args] for x in args: if str(x).startswith('--basetemp'): break