()
| 11 | |
| 12 | |
| 13 | def test_nested_modules(): |
| 14 | import pybind11_tests |
| 15 | |
| 16 | assert pybind11_tests.__name__ == "pybind11_tests" |
| 17 | assert pybind11_tests.modules.__name__ == "pybind11_tests.modules" |
| 18 | assert ( |
| 19 | pybind11_tests.modules.subsubmodule.__name__ |
| 20 | == "pybind11_tests.modules.subsubmodule" |
| 21 | ) |
| 22 | assert m.__name__ == "pybind11_tests.modules" |
| 23 | assert ms.__name__ == "pybind11_tests.modules.subsubmodule" |
| 24 | assert m.__file__ == ms.__file__ |
| 25 | |
| 26 | assert ms.submodule_func() == "submodule_func()" |
| 27 | |
| 28 | |
| 29 | def test_reference_internal(): |
nothing calls this directly
no outgoing calls
no test coverage detected