From 5dcda26ca0fbff15f4a5c603175936a4b99cf3eb Mon Sep 17 00:00:00 2001 From: "Andrew M. Yturaldi" <131637136+AndrewYturaldi@users.noreply.github.com> Date: Fri, 17 May 2024 04:42:47 -0500 Subject: [PATCH] fix(curriculum): removed __pyodide constant from pythontest evaluator (#54827) Co-authored-by: Dario-DC <105294544+Dario-DC@users.noreply.github.com> Co-authored-by: Ilenia M --- tools/client-plugins/browser-scripts/python-test-evaluator.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/client-plugins/browser-scripts/python-test-evaluator.ts b/tools/client-plugins/browser-scripts/python-test-evaluator.ts index 50fef2a9d1d..613820b0a93 100644 --- a/tools/client-plugins/browser-scripts/python-test-evaluator.ts +++ b/tools/client-plugins/browser-scripts/python-test-evaluator.ts @@ -119,10 +119,6 @@ ctx.onmessage = async (e: PythonRunEvent) => { // custom globals. const runPython = (pyCode: string) => pyodide.runPython(pyCode, { globals: __userGlobals }) as unknown; - // TODO: remove __pyodide once all the test use runPython. - const __pyodide = { - runPython - }; runPython(` def __inputGen(xs):