Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ endswith
Method
endswith
src/_pytest/_py/path.py:67–68 ·
view source on GitHub ↗
(self, arg)
Source
from the content-addressed store, hash-verified
65
return
self.path.fnmatch(arg)
66
67
def
endswith(self, arg):
68
return
str(self.path).endswith(arg)
69
70
def
_evaluate(self, kw):
71
from
.._code.source
import
getrawcode
Callers
15
import_path
Function · 0.80
mkrel
Method · 0.80
summary_stats
Method · 0.80
pytest_plugin_registered
Method · 0.80
join
Method · 0.80
pyimport
Method · 0.80
_parse_parametrize_args
Method · 0.80
consider_pluginarg
Method · 0.80
_iter_rewritable_modules
Function · 0.80
announce
Function · 0.80
test_writeline
Method · 0.80
check_tests_in_output
Method · 0.80
Calls
no outgoing calls
Tested by
15
test_writeline
Method · 0.64
check_tests_in_output
Method · 0.64
test_pdb_with_injected_do_debug
Method · 0.64
test_iterable_full_diff
Method · 0.64
test_truncates_at_8_lines_when_given_list_of_empty_strings
Method · 0.64
test_truncates_at_8_lines_when_first_8_lines_are_LT_max_chars
Method · 0.64
test_truncates_at_8_lines_when_first_8_lines_are_EQ_max_chars
Method · 0.64
test_truncates_at_4_lines_when_first_4_lines_are_GT_max_chars
Method · 0.64
test_truncates_at_1_line_when_first_line_is_GT_max_chars
Method · 0.64
test_importplugin_error_message
Function · 0.64
test_import_plugin_importname
Method · 0.64
test_cafd_preserves_newlines
Method · 0.64