Back to the room

Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works

Code Observatory / function

is_test_path

codeintel.retrieval.is_test_path

PINNED SOURCE Source and edges from the index at this commit. An execution appears only where one was recorded.

PHAROS at 975a38dMIT license

Around this symbol

Search all symbols

Loading

Calls (1)
SymbolFileResolved by
searchretrieval.pysame file
Called by (1)
SymbolFileResolved by
path_roleretrieval.pysame file
Inside (1)
SymbolFileResolved by
retrievalretrieval.pysame file
codeintel.retrieval.is_test_pathbackend/app/codeintel/retrieval.py, lines 145–146Open source
def is_test_path(path: str) -> bool:    return bool(_TEST_PATH_RE.search(path or ""))

What the index recorded

Signature
def is_test_path(path: str) -> bool:
File
backend/app/codeintel/retrieval.py
Lines
145–146
Parser
python-ast
Git blob
884729a39ae0b3d340ad83f75946677dcddf3791
Call sites
2 named, 1 resolved, 1 left unlinked
Outside this subset
2 more edges reach code outside the graph shown here

Read it on GitHub at this commit