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

Method tearDown

tests/test_traitlets.py:1285–1288  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1283 self._bad_values.append(None)
1284
1285 def tearDown(self):
1286 # restore default value after tests, if set
1287 if hasattr(self, "_default_value"):
1288 self.obj.value = self._default_value # type:ignore
1289
1290
1291class AnyTrait(HasTraits):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected