Skip to content

python: remove redundant methods from Package #11070

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 2, 2023

Conversation

bluetech
Copy link
Member

@bluetech bluetech commented Jun 2, 2023

They are already inherited exactly the same from FSCollector:

pytest/src/_pytest/nodes.py

Lines 646 to 652 in 24534cd

def gethookproxy(self, fspath: "os.PathLike[str]"):
warnings.warn(FSCOLLECTOR_GETHOOKPROXY_ISINITPATH, stacklevel=2)
return self.session.gethookproxy(fspath)
def isinitpath(self, path: Union[str, "os.PathLike[str]"]) -> bool:
warnings.warn(FSCOLLECTOR_GETHOOKPROXY_ISINITPATH, stacklevel=2)
return self.session.isinitpath(path)

They are already inherited exactly the same from FSCollector.
@bluetech bluetech merged commit 6c9b277 into pytest-dev:main Jun 2, 2023
@bluetech bluetech deleted the pkg-redundant-methods branch June 2, 2023 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants