MCPcopy Create free account
hub / github.com/RUC-NLPIR/WebThinker / _inner_call_method

Function _inner_call_method

scripts/lcb_runner/evaluation/testing_util.py:667–673  ·  view source on GitHub ↗
(_method)

Source from the content-addressed store, hash-verified

665 @patch("sys.stdin.read", lambda *args: inputs)
666 # @patch('sys.stdout.write', print)
667 def _inner_call_method(_method):
668 try:
669 return _method()
670 except SystemExit as e:
671 pass
672 finally:
673 pass
674
675 return _inner_call_method(method)
676

Callers 1

call_methodFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected