diff --git a/tools/client-plugins/browser-scripts/python-test-evaluator.ts b/tools/client-plugins/browser-scripts/python-test-evaluator.ts index 613820b0a93..5c9fb5f943a 100644 --- a/tools/client-plugins/browser-scripts/python-test-evaluator.ts +++ b/tools/client-plugins/browser-scripts/python-test-evaluator.ts @@ -168,9 +168,7 @@ with open("/user_code.py", "r") as f: } }); } - // TODO: remove the next line, creating __locals, once all the tests access - // variables directly. - runPython('__locals = globals()'); + await test(); ctx.postMessage({ pass: true });