Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IBM/mcp-cli
/ _proc
Method
_proc
tests/chat/test_tool_processor.py:2336–2337 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2334
2335
class
TestTryParseNumber:
2336
def
_proc(self):
2337
return
_make_processor()
2338
2339
def
test_numeric_string_returns_float(self):
2340
assert self._proc()._try_parse_number(
"3.14"
) == 3.14
Callers
8
test_numeric_string_returns_float
Method · 0.95
test_integer_string_returns_float
Method · 0.95
test_non_numeric_string_returned_as_is
Method · 0.95
test_none_string_returns_none
Method · 0.95
test_null_string_returns_none
Method · 0.95
test_empty_string_returns_empty
Method · 0.95
test_non_string_returned_as_is
Method · 0.95
test_whitespace_stripped
Method · 0.95
Calls
1
_make_processor
Function · 0.85
Tested by
no test coverage detected