MCPcopy Create free account
hub / github.com/pytest-dev/pytest / _wrapcall

Function _wrapcall

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

Source from the content-addressed store, hash-verified

26
27
28def _wrapcall(*args, **kargs):
29 try:
30 return subprocess.check_output(*args, **kargs).decode().splitlines()
31 except subprocess.CalledProcessError:
32 return []
33
34
35class FilesCompleter:

Callers 1

__call__Method · 0.85

Calls 1

check_outputMethod · 0.80

Tested by

no test coverage detected