MCPcopy
hub / github.com/pytest-dev/pytest / isfile

Method isfile

src/_pytest/_py/path.py:241–242  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

239 return S_ISDIR(self._osstatresult.st_mode)
240
241 def isfile(self):
242 return S_ISREG(self._osstatresult.st_mode)
243
244 def islink(self):
245 self.path.lstat()

Callers 14

test_add_somethingMethod · 0.45
test_existsMethod · 0.45
test_dirMethod · 0.45
test_stat_helpersMethod · 0.45
test_log_file_cliFunction · 0.45
test_log_file_mode_cliFunction · 0.45
test_log_file_cli_levelFunction · 0.45
test_log_file_iniFunction · 0.45
test_log_file_mode_iniFunction · 0.45
test_log_file_ini_levelFunction · 0.45
test_log_file_unicodeFunction · 0.45

Calls

no outgoing calls

Tested by 14

test_add_somethingMethod · 0.36
test_existsMethod · 0.36
test_dirMethod · 0.36
test_stat_helpersMethod · 0.36
test_log_file_cliFunction · 0.36
test_log_file_mode_cliFunction · 0.36
test_log_file_cli_levelFunction · 0.36
test_log_file_iniFunction · 0.36
test_log_file_mode_iniFunction · 0.36
test_log_file_ini_levelFunction · 0.36
test_log_file_unicodeFunction · 0.36