terminal: fix/remove wrong typing for currentfspath

Can be -2, or py.path.local (not typed).
This commit is contained in:
Daniel Hahler 2019-11-13 23:24:17 +01:00
parent 55bc084dcc
commit 772dfc4f9d
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ class TerminalReporter:
# self.writer will be deprecated in pytest-3.4
self.writer = self._tw
self._screen_width = self._tw.fullwidth
self.currentfspath = None # type: Optional[int]
self.currentfspath = None # type: Any
self.reportchars = getreportopt(config)
self.hasmarkup = self._tw.hasmarkup
self.isatty = file.isatty()