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

Method test_append

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

Source from the content-addressed store, hash-verified

2111 assert pc.value == ""
2112
2113 def test_append(self):
2114 pc = PrintContainer()
2115 pc.append("Hello")
2116 assert pc.value == "Hello"
2117
2118 def test_iadd(self):
2119 pc = PrintContainer()

Callers

nothing calls this directly

Calls 2

appendMethod · 0.95
PrintContainerClass · 0.90

Tested by

no test coverage detected