chore(curriculum): remove __locals from binary search tree project (#54786)

This commit is contained in:
Ilenia
2024-05-15 00:17:28 +02:00
committed by GitHub
parent 623cb01f0f
commit f0bbef2d8b
2 changed files with 2 additions and 4 deletions

View File

@@ -24,8 +24,7 @@ You should use the `class` keyword to declare an empty class named `TreeNode`.
test: () => {
assert(__pyodide.runPython(`
import inspect
a = __locals.get("TreeNode")
inspect.isclass(a)
inspect.isclass(TreeNode)
`));
}
})

View File

@@ -18,8 +18,7 @@ You should have a class named `BinarySearchTree`. Remember to use the `pass` key
test: () => {
assert(__pyodide.runPython(`
import inspect
bst = __locals.get("BinarySearchTree")
inspect.isclass(bst)
inspect.isclass(BinarySearchTree)
`));
}
})