Create an MLIR context for tests that need types.
()
| 14 | |
| 15 | @pytest.fixture(scope="module") |
| 16 | def mlir_context(): |
| 17 | """Create an MLIR context for tests that need types.""" |
| 18 | with Context() as ctx: |
| 19 | register_dialect(ctx, load=True) |
| 20 | yield ctx |
| 21 | |
| 22 | |
| 23 | def test_make_tile_type(mlir_context): |
nothing calls this directly
no outgoing calls
no test coverage detected