MCPcopy
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
pypkgpathMethod · 0.45
filename_argFunction · 0.45
directory_argFunction · 0.45
test_add_somethingMethod · 0.45
test_existsMethod · 0.45
test_dirMethod · 0.45
test_ensure_dirMethod · 0.45

Calls

no outgoing calls

Tested by 8

test_add_somethingMethod · 0.36
test_existsMethod · 0.36
test_dirMethod · 0.36
test_ensure_dirMethod · 0.36
test_stat_helpersMethod · 0.36