Instructions to use XXXpilar/Fastfill-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use XXXpilar/Fastfill-test with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Download code/fastfill/tests/test_embedded_contracts.py from XXXpilar/Fastfill-test: direct link, hf CLI and curl.
- Browser
- Download file 686 Bytes
-
https://huggingface.co/XXXpilar/Fastfill-test/resolve/main/code/fastfill/tests/test_embedded_contracts.py
- Command line
-
hf download hf://XXXpilar/Fastfill-test/code/fastfill/tests/test_embedded_contracts.py
-
curl -L -o test_embedded_contracts.py https://huggingface.co/XXXpilar/Fastfill-test/resolve/main/code/fastfill/tests/test_embedded_contracts.py
686 Bytes
| """Keep the existing synthetic geometry and evaluation contract checks in the normal test command.""" | |
| import runpy | |
| import sys | |
| import warnings | |
| import pytest | |
| def test_existing_contracts(module, monkeypatch): | |
| monkeypatch.setattr(sys, "argv", [module]) | |
| with warnings.catch_warnings(): | |
| warnings.filterwarnings("ignore", message=".*found in sys.modules.*", category=RuntimeWarning) | |
| runpy.run_module(module, run_name="__main__") | |