We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26e64dd commit c070075Copy full SHA for c070075
src/_pytest/python.py
@@ -606,7 +606,8 @@ def setup(self):
606
def gethookproxy(self, fspath: py.path.local):
607
return super()._gethookproxy(fspath)
608
609
- def isinitpath(self, path):
+ def isinitpath(self, path: "py.path.local") -> bool:
610
+ assert isinstance(path, py.path.local), repr(path)
611
return path in self.session._initialpaths
612
613
def collect(self):
0 commit comments