MCPcopy Create free account
hub / github.com/IBM/mcp-cli / Custom

Class Custom

tests/utils/test_serialization.py:120–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118
119 def test_fallback_to_str(self):
120 class Custom:
121 def __str__(self):
122 return "custom_repr"
123
124 assert to_serializable(Custom()) == "custom_repr"

Callers 1

test_fallback_to_strMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_fallback_to_strMethod · 0.56