Additional dependencies for testing can be installed with:
pip install --group dev --group testIf you have installed pyreadstat on your environment, enter this folder and do:
python3 tests/test_basic.py
python3 tests/test_narwhalified.py --backend=pandas
python3 tests/test_narwhalified.py --backend=polars
python3 tests/test_http_integration.pyIf you have built in place, do:
python3 tests/test_basic.py --inplace
python3 tests/test_narwhalified.py --inplace --backend=pandas
python3 tests/test_narwhalified.py --inplace --backend=polars
python3 tests/test_http_integration.py --inplaceType hint tests can be run with:
pytest tests/test_typing.yml --mypy-ini-file=tests/test_mypy_setup.ini
python tests/test_runtime_types.py --inplaceTo run all tests in place, do:
python tests/test_basic.py --inplace && python tests/test_narwhalified.py --inplace --backend=pandas && python tests/test_narwhalified.py --inplace --backend=polars && python tests/test_http_integration.py --inplace && pytest tests/test_typing.yml --mypy-ini-file=tests/test_mypy_setup.ini & python tests/test_runtime_types.py --inplace