diff options
author | Daniel Hahler <git@thequod.de> | 2020-01-21 12:29:22 +0100 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2020-01-23 10:45:27 +0100 |
commit | ef112fd7dd8ee220865f7569c0ecc4fa5eb24464 (patch) | |
tree | df666d8117aef5b0c6070f314ef298c6058eed20 /src/_pytest/doctest.py | |
parent | 8fa57c8384818efcc83af604f0ccfc2620dd111c (diff) | |
download | pytest-ef112fd7dd8ee220865f7569c0ecc4fa5eb24464.tar.gz |
Revert "Revert "Fix type errors after adding types to the `py` dependency""
Without changes to test_itemreport_reportinfo.
This reverts commit fb99b5c66ee06ad0bd3336d8599448d1d3da4f7f.
Conflicts:
testing/test_nose.py
Diffstat (limited to 'src/_pytest/doctest.py')
-rw-r--r-- | src/_pytest/doctest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_pytest/doctest.py b/src/_pytest/doctest.py index e62c5e17e..d7ca888cc 100644 --- a/src/_pytest/doctest.py +++ b/src/_pytest/doctest.py @@ -308,7 +308,7 @@ class DoctestItem(pytest.Item): else: return super().repr_failure(excinfo) - def reportinfo(self) -> Tuple[str, int, str]: + def reportinfo(self) -> Tuple[py.path.local, int, str]: return self.fspath, self.dtest.lineno, "[doctest] %s" % self.name |