From 3c9bbf21673f6bbd3ace1fc5ab1ca1d80f9ecd37 Mon Sep 17 00:00:00 2001 From: Ilenia <26656284+ilenia-magoni@users.noreply.github.com> Date: Wed, 15 May 2024 09:56:55 +0200 Subject: [PATCH] chore(curriculum): remove pyodide from case converter project (#54759) --- .../657e928716b77b2277980276.md | 4 ++-- .../657f025ec86c3d7c4177b6be.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/curriculum/challenges/english/07-scientific-computing-with-python/learn-list-comprehension-by-building-a-case-converter-program/657e928716b77b2277980276.md b/curriculum/challenges/english/07-scientific-computing-with-python/learn-list-comprehension-by-building-a-case-converter-program/657e928716b77b2277980276.md index 49cb743dfb5..cc9d6b4b135 100644 --- a/curriculum/challenges/english/07-scientific-computing-with-python/learn-list-comprehension-by-building-a-case-converter-program/657e928716b77b2277980276.md +++ b/curriculum/challenges/english/07-scientific-computing-with-python/learn-list-comprehension-by-building-a-case-converter-program/657e928716b77b2277980276.md @@ -20,7 +20,7 @@ You should define a new function named `convert_to_snake_case()`. Don't forget t ```js ({ test: () => { - assert(__pyodide.runPython(` + assert(runPython(` import inspect a = __locals.get("convert_to_snake_case") inspect.isfunction(a) @@ -34,7 +34,7 @@ Your function should take a parameter named `pascal_or_camel_cased_string`. ```js ({ test: () => { - assert(__pyodide.runPython(` + assert(runPython(` import inspect a = __locals.get('convert_to_snake_case') 'pascal_or_camel_cased_string' in inspect.signature(a).parameters diff --git a/curriculum/challenges/english/07-scientific-computing-with-python/learn-list-comprehension-by-building-a-case-converter-program/657f025ec86c3d7c4177b6be.md b/curriculum/challenges/english/07-scientific-computing-with-python/learn-list-comprehension-by-building-a-case-converter-program/657f025ec86c3d7c4177b6be.md index d669609e5ce..1e6ce3d61ea 100644 --- a/curriculum/challenges/english/07-scientific-computing-with-python/learn-list-comprehension-by-building-a-case-converter-program/657f025ec86c3d7c4177b6be.md +++ b/curriculum/challenges/english/07-scientific-computing-with-python/learn-list-comprehension-by-building-a-case-converter-program/657f025ec86c3d7c4177b6be.md @@ -16,7 +16,7 @@ You should define a new function named `main()`. Don't forget the colon at the e ```js ({ test: () => { - assert(__pyodide.runPython(` + assert(runPython(` import inspect a = __locals.get("main") inspect.isfunction(a)