()
| 72 | |
| 73 | |
| 74 | def test_reimport(): |
| 75 | import sys |
| 76 | |
| 77 | import pybind11_tests as x |
| 78 | |
| 79 | del sys.modules["pybind11_tests"] |
| 80 | |
| 81 | # exercise pybind11::detail::get_cached_module() |
| 82 | import pybind11_tests as y |
| 83 | |
| 84 | assert x is y |
| 85 | |
| 86 | |
| 87 | @pytest.mark.xfail( |
nothing calls this directly
no outgoing calls
no test coverage detected