Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ycm-core/YouCompleteMe
/ EndsWithPython_Good
Function
EndsWithPython_Good
python/ycm/tests/paths_test.py:26–28 ·
view source on GitHub ↗
( path )
Source
from the content-addressed store, hash-verified
24
25
26
def
EndsWithPython_Good( path ):
27
assert_that( _EndsWithPython( path ),
28
f
'Path { path } does not end with a Python name.'
)
29
30
31
def
EndsWithPython_Bad( path ):
Callers
1
test_EndsWithPython_Python3Paths
Method · 0.85
Calls
1
_EndsWithPython
Function · 0.90
Tested by
no test coverage detected