MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / restore_stdout

Method restore_stdout

tests/test_pydev_ipython_011.py:55–58  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 sys.stdout = io.stdout = pydevd_io.IOBuf()
54
55 def restore_stdout(self):
56 from IPython.utils import io
57
58 io.stdout = sys.stdout = self.original_stdout
59
60
61@pytest.mark.skipif(not has_ipython, reason="IPython not available")

Callers 4

test_printMethod · 0.80
testQuestionMark_1Method · 0.80
testQuestionMark_2Method · 0.80
test_historyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected