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

Method testQuestionMark_2

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

Source from the content-addressed store, hash-verified

141 self.restore_stdout()
142
143 def testQuestionMark_2(self):
144 self.redirect_stdout()
145 try:
146 self.add_exec("int?")
147 found = sys.stdout.getvalue()
148 if "Convert" not in found:
149 raise AssertionError('Expected to find "Convert" in %s' % (found,))
150 finally:
151 self.restore_stdout()
152
153 def test_gui(self):
154 try:

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