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 <nethleen@gmail.com>pull/54858/head
parent
7e1823dcf0
commit
5dcda26ca0
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue