In the file: pydatastructs/trees/tests/test_binary_trees.py, inside the _test_SplayTree() function:
There are 2 code snippets which run only when the backend is Python. This is because if we run them in C++ backend, the CI checks fail. However, the code passes when run on my local machine (laptop - Ubuntu).
Description of the problem
In the file:
pydatastructs/trees/tests/test_binary_trees.py
, inside the_test_SplayTree()
function: There are 2 code snippets which run only when the backend is Python. This is because if we run them in C++ backend, the CI checks fail. However, the code passes when run on my local machine (laptop - Ubuntu).These are the code snippets:
This was added in PR: https://github.com/codezonediitj/pydatastructs/pull/562