diff options
author | Ran Benita <ran@unusedvar.com> | 2020-10-17 16:54:54 +0300 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2020-10-17 19:25:45 +0300 |
commit | 1b23a111d2056e56c4a9038bc272e6f1f1698f85 (patch) | |
tree | 22a1c65469e458ea882afbb107d6d806be3ad99b /src/_pytest/pytester.py | |
parent | e5e47c1097e6f9e7bd30e28d508dca489f0629c6 (diff) | |
download | pytest-1b23a111d2056e56c4a9038bc272e6f1f1698f85.tar.gz |
Update mypy 0.782 -> 0.790
Diffstat (limited to 'src/_pytest/pytester.py')
-rw-r--r-- | src/_pytest/pytester.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/_pytest/pytester.py b/src/_pytest/pytester.py index a4142037d..dc234dc63 100644 --- a/src/_pytest/pytester.py +++ b/src/_pytest/pytester.py @@ -1322,8 +1322,10 @@ class Pytester: """ __tracebackhide__ = True + # TODO: Remove type ignore in next mypy release. + # https://github.com/python/typeshed/pull/4582 cmdargs = tuple( - os.fspath(arg) if isinstance(arg, os.PathLike) else arg for arg in cmdargs + os.fspath(arg) if isinstance(arg, os.PathLike) else arg for arg in cmdargs # type: ignore[misc] ) p1 = self.path.joinpath("stdout") p2 = self.path.joinpath("stderr") |