MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / __exit__

Method __exit__

src/diffusers/utils/testing_utils.py:796–798  ·  view source on GitHub ↗
(self, *exc)

Source from the content-addressed store, hash-verified

794 return self
795
796 def __exit__(self, *exc):
797 self.logger.removeHandler(self.sh)
798 self.out = self.io.getvalue()
799
800 def __repr__(self):
801 return f"captured: {self.out}\n"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected