MCPcopy
hub / github.com/huggingface/smolagents / test_iadd

Method test_iadd

tests/test_local_python_executor.py:2118–2121  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2116 assert pc.value == "Hello"
2117
2118 def test_iadd(self):
2119 pc = PrintContainer()
2120 pc += "World"
2121 assert pc.value == "World"
2122
2123 def test_str(self):
2124 pc = PrintContainer()

Callers

nothing calls this directly

Calls 1

PrintContainerClass · 0.90

Tested by

no test coverage detected