Skip to content

Commit 4e386ea

Browse files
committed
fix test mypy
1 parent 92213d7 commit 4e386ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/core/test_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def test_render_only_loads_upstream_model_files(tmp_path: pathlib.Path) -> None:
334334
Context(config=config, paths=tmp_path, load=False).load(use_project_index=True)
335335

336336
ctx = Context(config=config, paths=tmp_path, load=False)
337-
loader = ctx._loaders[0]
337+
loader = t.cast(SqlMeshLoader, ctx._loaders[0])
338338
with patch.object(
339339
loader,
340340
"_load_sql_models",

0 commit comments

Comments
 (0)