| 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 | |
| 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 | |