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

Method test_console_hello

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

Source from the content-addressed store, hash-verified

53 sys.stdout = self.original_stdout
54
55 def test_console_hello(self):
56 with self.interpreter() as interpreter:
57 (result,) = interpreter.hello("Hello pydevconsole")
58 self.assertEqual(result, "Hello eclipse")
59
60 @pytest.mark.skipif(not CAN_EVALUATE_TOP_LEVEL_ASYNC, reason="Requires top-level async.")
61 def test_console_async(self):

Callers

nothing calls this directly

Calls 2

interpreterMethod · 0.95
helloMethod · 0.45

Tested by

no test coverage detected