Spaces:
Runtime error
Runtime error
Download tests/context.py from deepcode-ai/codeql-jupyter: direct link, hf CLI and curl.
- Browser
- Download file 366 Bytes
-
https://huggingface.co/spaces/deepcode-ai/codeql-jupyter/resolve/main/tests/context.py
- Command line
-
hf download hf://spaces/deepcode-ai/codeql-jupyter/tests/context.py
-
curl -L -o context.py https://huggingface.co/spaces/deepcode-ai/codeql-jupyter/resolve/main/tests/context.py
366 Bytes
| """ Gives the test suite access to the code in the codelql kernel package. | |
| This is just copied from and as recommended in the Hitchhicker's Guide to | |
| Python, see | |
| http://docs.python-guide.org/en/latest/writing/structure/#test-suite | |
| """ | |
| import os | |
| import sys | |
| sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) | |
| import codeql_kernel | |