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

Function main

tests_python/test_evaluate_expression.py:213–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

211 return a
212
213 async def main():
214 from _pydevd_bundle.pydevd_vars import evaluate_expression
215
216 a = 10
217 assert async_call is not None # Make sure it's in the locals.
218 frame = sys._getframe()
219 eval_txt = "y = await async_call(a)"
220 evaluate_expression(py_db, frame, eval_txt, is_exec=True)
221 assert frame.f_locals["y"] == a
222
223 import asyncio
224

Calls 2

evaluate_expressionFunction · 0.90
getvalueMethod · 0.80

Tested by

no test coverage detected