This is an archive of the discontinued Mercurial Phabricator instance.

run-tests: use byte strings for inserted output
ClosedPublic

Authored by indygreg on Nov 4 2019, 11:34 PM.

Details

Summary

We were inserting str on Python 3 which resulted in mixed
str/bytes types on the list. This would later blow up when
trying to write str to the .err file opened in bytes mode.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Nov 4 2019, 11:34 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.