Spaces:
Runtime error
Runtime error
Download tests/conftest.py from reforse/table-comparator: direct link, hf CLI and curl.
- Browser
- Download file 366 Bytes
-
https://huggingface.co/spaces/reforse/table-comparator/resolve/main/tests/conftest.py
- Command line
-
hf download hf://spaces/reforse/table-comparator/tests/conftest.py
-
curl -L -o conftest.py https://huggingface.co/spaces/reforse/table-comparator/resolve/main/tests/conftest.py
366 Bytes
| """Shared fixtures for the test suite.""" | |
| from pathlib import Path | |
| import pandas as pd | |
| import pytest | |
| SAMPLE_DIR = Path(__file__).resolve().parent.parent / "sample_data" | |
| def df_a() -> pd.DataFrame: | |
| return pd.read_csv(SAMPLE_DIR / "table_a.csv") | |
| def df_b() -> pd.DataFrame: | |
| return pd.read_csv(SAMPLE_DIR / "table_b.csv") | |