MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / __exit__

Method __exit__

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

Source from the content-addressed store, hash-verified

892 return self
893
894 def __exit__(self, *exc):
895 self.logger.removeHandler(self.sh)
896 self.out = self.io.getvalue()
897
898 def __repr__(self):
899 return f"captured: {self.out}\n"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected