MCPcopy Create free account
hub / github.com/AlayaLab/Hive / __exit__

Method __exit__

models/flowsep/diffusers/utils/testing_utils.py:556–558  ·  view source on GitHub ↗
(self, *exc)

Source from the content-addressed store, hash-verified

554 return self
555
556 def __exit__(self, *exc):
557 self.logger.removeHandler(self.sh)
558 self.out = self.io.getvalue()
559
560 def __repr__(self):
561 return f"captured: {self.out}\n"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected