Download tests/conftest.py from 42e/mathcompose: direct link, hf CLI and curl.
- Browser
- Download file 267 Bytes
-
https://huggingface.co/42e/mathcompose/resolve/main/tests/conftest.py
- Command line
-
hf download hf://42e/mathcompose/tests/conftest.py
-
curl -L -o conftest.py https://huggingface.co/42e/mathcompose/resolve/main/tests/conftest.py
267 Bytes
| import sys | |
| from pathlib import Path | |
| # Allow `import mathcompose` without installing the package. | |
| SRC = Path(__file__).resolve().parents[1] / "src" | |
| if str(SRC) not in sys.path: | |
| sys.path.insert(0, str(SRC)) | |
| FIXTURES = Path(__file__).resolve().parent / "fixtures" | |