Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Video encoder pin test: read video.py as UTF-8 (#15623)

Daniel Hana5956882f64c
diff --git a/studio/backend/tests/test_video_encoder_exact_pin.py b/studio/backend/tests/test_video_encoder_exact_pin.py
index 0a1ea924d66..6f21e773572 100644
--- a/studio/backend/tests/test_video_encoder_exact_pin.py
+++ b/studio/backend/tests/test_video_encoder_exact_pin.py
@@ -418,7 +418,7 @@ def test_the_pending_write_gate_reads_done_and_survives_a_broken_record():
def test_the_video_load_records_its_cast_writes_before_the_pin_plan():
from pathlib import Path
- src = (Path(dm.__file__).parent / "video.py").read_text()
+ src = (Path(dm.__file__).parent / "video.py").read_text(encoding = "utf-8")
deferred = src.index("cast_writes = defer_writes(pipe, cast_missed")
noted = src.index("note_cast_cache_writes(pipe, cast_writes)")
planned = src.index("offload_policy, vae_tiling = apply_memory_plan(")