(self)
| 3730 | __requires__ = ("cextensions",) |
| 3731 | |
| 3732 | def test_all_cyext_imported(self): |
| 3733 | ext = _all_cython_modules() |
| 3734 | lib_folder = (Path(__file__).parent / ".." / ".." / "lib").resolve() |
| 3735 | sa_folder = lib_folder / "sqlalchemy" |
| 3736 | cython_files = [f.resolve() for f in sa_folder.glob("**/*_cy.py")] |
| 3737 | eq_(len(ext), len(cython_files)) |
| 3738 | names = { |
| 3739 | ".".join(f.relative_to(lib_folder).parts).replace(".py", "") |
| 3740 | for f in cython_files |
| 3741 | } |
| 3742 | eq_({m.__name__ for m in ext}, set(names)) |
| 3743 | |
| 3744 | @testing.combinations(*_all_cython_modules()) |
| 3745 | def test_load_uncompiled_module(self, module): |
nothing calls this directly
no test coverage detected