MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / __exit__

Method __exit__

deeplabcut/benchmark/utils.py:40–44  ·  view source on GitHub ↗
(self, exc_type, exc_value, traceback)

Source from the content-addressed store, hash-verified

38 sys.stdout, sys.stderr = self._stdout, self._stderr
39
40 def __exit__(self, exc_type, exc_value, traceback):
41 self._stdout.flush()
42 self._stderr.flush()
43 sys.stdout = self.old_stdout
44 sys.stderr = self.old_stderr
45
46
47class DisableOutput(RedirectStdStreams):

Callers

nothing calls this directly

Calls 1

flushMethod · 0.80

Tested by

no test coverage detected