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

Function _wrapcall

testing/test_argcomplete.py:32–36  ·  view source on GitHub ↗
(*args, **kargs)

Source from the content-addressed store, hash-verified

30
31
32def _wrapcall(*args, **kargs):
33 try:
34 return subprocess.check_output(*args, **kargs).decode().splitlines()
35 except subprocess.CalledProcessError:
36 return []
37
38
39class FilesCompleter:

Callers 1

__call__Method · 0.85

Calls 1

check_outputMethod · 0.80

Tested by

no test coverage detected