Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ isdir
Method
isdir
src/_pytest/_py/path.py:238–239 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
236
return
entry[0]
237
238
def
isdir(self):
239
return
S_ISDIR(self._osstatresult.st_mode)
240
241
def
isfile(self):
242
return
S_ISREG(self._osstatresult.st_mode)
Callers
13
__call__
Method · 0.45
__init__
Method · 0.45
pypkgpath
Method · 0.45
filename_arg
Function · 0.45
directory_arg
Function · 0.45
test_lastfailed_usecase
Method · 0.45
test_does_not_create_boilerplate_in_existing_dirs
Function · 0.45
test_long_path_during_cleanup
Function · 0.45
test_add_something
Method · 0.45
test_exists
Method · 0.45
test_dir
Method · 0.45
test_ensure_dir
Method · 0.45
Calls
no outgoing calls
Tested by
8
test_lastfailed_usecase
Method · 0.36
test_does_not_create_boilerplate_in_existing_dirs
Function · 0.36
test_long_path_during_cleanup
Function · 0.36
test_add_something
Method · 0.36
test_exists
Method · 0.36
test_dir
Method · 0.36
test_ensure_dir
Method · 0.36
test_stat_helpers
Method · 0.36