Page MenuHomePhabricator

py3: use bytes and open() instead of file() in test-diff-upgrade.t
ClosedPublic

Authored by pulkit on Dec 28 2017, 7:48 PM.

Details

Summary

file() is not present in Python 3.

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

pulkit created this revision.Dec 28 2017, 7:48 PM
durin42 accepted this revision.Jan 10 2018, 5:55 PM
This revision is now accepted and ready to land.Jan 10 2018, 5:55 PM
This revision was automatically updated to reflect the committed changes.