MCPcopy Create free account
hub / github.com/ipython/traitlets / assign

Method assign

tests/test_traitlets.py:1241–1242  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

1239 """A best testing class for basic trait types."""
1240
1241 def assign(self, value):
1242 self.obj.value = value # type:ignore
1243
1244 def coerce(self, value):
1245 return value

Callers 2

test_good_valuesMethod · 0.95
test_allow_noneMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected