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

Function check

tests_python/test_evaluate_expression.py:34–37  ·  view source on GitHub ↗
(frame)

Source from the content-addressed store, hash-verified

32 from _pydevd_bundle.pydevd_vars import evaluate_expression
33
34 def check(frame):
35 evaluate_expression(None, frame, "some_var = 1", is_exec=True)
36
37 assert frame.f_locals["some_var"] == 1
38
39 check(next(iter(obtain_frame())))
40 assert "some_var" not in sys._getframe().f_globals

Calls 1

evaluate_expressionFunction · 0.90

Tested by

no test coverage detected