Files
Rocky 19296a07a0 fix(labs/tests): open lab files with explicit UTF-8 encoding (#1596)
read_source() used open() without an encoding argument. On Windows,
the default codec is cp1252, which cannot decode the UTF-8 byte 0x90
(used in em-dash and similar characters present in lab markdown strings).
All 33 TestWidgetReturnCompleteness tests failed on Windows with
UnicodeDecodeError; passing PYTHONUTF8=1 made them all green.

Fix: add encoding="utf-8" to the open() call in read_source().
2026-04-28 14:28:32 -04:00
..