File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 57
57
from _pytest .config import hookimpl
58
58
from _pytest .config .argparsing import Parser
59
59
from _pytest .deprecated import check_ispytest
60
- from _pytest .deprecated import FSCOLLECTOR_GETHOOKPROXY_ISINITPATH
61
60
from _pytest .deprecated import INSTANCE_COLLECTOR
62
61
from _pytest .deprecated import NOSE_SUPPORT_METHOD
63
62
from _pytest .fixtures import FuncFixtureInfo
@@ -700,14 +699,6 @@ def setup(self) -> None:
700
699
func = partial (_call_with_optional_argument , teardown_module , self .obj )
701
700
self .addfinalizer (func )
702
701
703
- def gethookproxy (self , fspath : "os.PathLike[str]" ):
704
- warnings .warn (FSCOLLECTOR_GETHOOKPROXY_ISINITPATH , stacklevel = 2 )
705
- return self .session .gethookproxy (fspath )
706
-
707
- def isinitpath (self , path : Union [str , "os.PathLike[str]" ]) -> bool :
708
- warnings .warn (FSCOLLECTOR_GETHOOKPROXY_ISINITPATH , stacklevel = 2 )
709
- return self .session .isinitpath (path )
710
-
711
702
def _recurse (self , direntry : "os.DirEntry[str]" ) -> bool :
712
703
if direntry .name == "__pycache__" :
713
704
return False
You can’t perform that action at this time.
0 commit comments