You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Read the generated module as UTF-8 in three Python test drivers #8976
The Python drivers in MachineLearningScorerOpDescSpec, FilledAreaPlotOpDescSpec and TreePlotOpDescSpec read the generated module with open(sys.argv[1]), so Python decodes it with the locale's encoding, which is cp1252 on Windows. The spec writes the file as UTF-8. The modules these tests generate are ASCII today, so nothing fails yet, but a non-ASCII character in a generated module would make these tests fail on Windows only. The drivers that read Plotly HTML already pass encoding="utf-8"; these three should too.
Activity
Matthew-DWM commentedon Oct 14, 2026
/take
test(workflow-operator): read the generated module as UTF-8 in three …
Matthew-DWM commentedon Oct 14, 2026
/untake
feat(workflow-operator): read the generated module as UTF-8 in three …