This is an archive of the discontinued Mercurial Phabricator instance.

py3: use print as a function in test-mq-push-fail.t
AbandonedPublic

Authored by pulkit on Feb 18 2018, 8:31 AM.

Details

Reviewers
yuja
Group Reviewers
hg-reviewers
Summary

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pulkit created this revision.Feb 18 2018, 8:31 AM
yuja requested changes to this revision.Feb 18 2018, 9:14 AM
yuja added a subscriber: yuja.

print(non_ascii_string) is locale-dependent and doesn't always work.
We'll have to use getattr(sys.stdout, 'buffer', sys.stdout).write() instead.

This revision now requires changes to proceed.Feb 18 2018, 9:14 AM
pulkit abandoned this revision.Apr 11 2018, 7:22 AM

Superseded by D3218.