Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_something
Method · 0.45
test_exists
Method · 0.45
test_dir
Method · 0.45
test_stat_helpers
Method · 0.45
test_root_logger_affected
Function · 0.45
test_log_file_cli
Function · 0.45
test_log_file_mode_cli
Function · 0.45
test_log_file_cli_level
Function · 0.45
test_log_file_ini
Function · 0.45
test_log_file_mode_ini
Function · 0.45
test_log_file_ini_level
Function · 0.45
test_log_file_unicode
Function · 0.45
Calls
no outgoing calls
Tested by
14
test_add_something
Method · 0.36
test_exists
Method · 0.36
test_dir
Method · 0.36
test_stat_helpers
Method · 0.36
test_root_logger_affected
Function · 0.36
test_log_file_cli
Function · 0.36
test_log_file_mode_cli
Function · 0.36
test_log_file_cli_level
Function · 0.36
test_log_file_ini
Function · 0.36
test_log_file_mode_ini
Function · 0.36
test_log_file_ini_level
Function · 0.36
test_log_file_unicode
Function · 0.36