tests: Migrate to pytester - final update

This commit is contained in:
antonblr
2020-12-15 20:16:05 -08:00
parent f14ab08de3
commit 15156e94c4
13 changed files with 656 additions and 563 deletions

View File

@@ -660,7 +660,7 @@ class Package(Module):
warnings.warn(FSCOLLECTOR_GETHOOKPROXY_ISINITPATH, stacklevel=2)
return self.session.gethookproxy(fspath)
def isinitpath(self, path: py.path.local) -> bool:
def isinitpath(self, path: "os.PathLike[str]") -> bool:
warnings.warn(FSCOLLECTOR_GETHOOKPROXY_ISINITPATH, stacklevel=2)
return self.session.isinitpath(path)