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

Method testQuestionMark_1

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

Source from the content-addressed store, hash-verified

131 self.restore_stdout()
132
133 def testQuestionMark_1(self):
134 self.redirect_stdout()
135 try:
136 self.add_exec("?")
137 found = sys.stdout.getvalue()
138 if len(found) < 1000:
139 raise AssertionError("Expected IPython help to be big. Found: %s" % (found,))
140 finally:
141 self.restore_stdout()
142
143 def testQuestionMark_2(self):
144 self.redirect_stdout()

Callers

nothing calls this directly

Calls 4

redirect_stdoutMethod · 0.80
getvalueMethod · 0.80
restore_stdoutMethod · 0.80
add_execMethod · 0.45

Tested by

no test coverage detected