Download python/pybind11/tests/test_const_name.py from camenduru/ncnn: direct link, hf CLI and curl.
- Browser
- Download file 589 Bytes
-
https://huggingface.co/camenduru/ncnn/resolve/main/python/pybind11/tests/test_const_name.py
- Command line
-
hf download hf://camenduru/ncnn/python/pybind11/tests/test_const_name.py
-
curl -L -o test_const_name.py https://huggingface.co/camenduru/ncnn/resolve/main/python/pybind11/tests/test_const_name.py
589 Bytes
| import pytest | |
| from pybind11_tests import const_name as m | |
| def test_const_name(func, selector, expected): | |
| if isinstance(func, str): | |
| pytest.skip(func) | |
| text = func(selector) | |
| assert text == expected | |