This is an archive of the discontinued Mercurial Phabricator instance.

tests: prevent printing \r to stdout
ClosedPublic

Authored by indygreg on Mar 29 2020, 9:30 PM.

Details

Summary

Like we've done in other recent commits, we need to change
sys.stdout on Python 3 to not use os.linesep so output is
consistent on Python 3 on Windows.

With this change, test-notify.t now passes on Python 3 on Windows!

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.Mar 29 2020, 9:30 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.