mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-05 12:06:36 -05:00
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>
This commit is contained in:
committed by
GitHub
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):
|
||||
|
||||
Reference in New Issue
Block a user