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

Method testAddExec_2

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

Source from the content-addressed store, hash-verified

64 self.add_exec("if True:", True)
65
66 def testAddExec_2(self):
67 # Change: 'more' must now be controlled in the client side after the initial 'True' returned.
68 self.add_exec("if True:\n testAddExec_a = 10\n", False)
69 assert "testAddExec_a" in self.front_end.get_namespace()
70
71 def testAddExec_3(self):
72 assert "testAddExec_x" not in self.front_end.get_namespace()

Callers

nothing calls this directly

Calls 2

add_execMethod · 0.45
get_namespaceMethod · 0.45

Tested by

no test coverage detected