mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-11 07:00:41 -04:00
chore(curriculum): remove __locals from binary search tree project (#54786)
This commit is contained in:
@@ -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)
|
||||
`));
|
||||
}
|
||||
})
|
||||
|
||||
@@ -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)
|
||||
`));
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user