( )⚙ D2113 py3: replace file() with open() in test-win32text.t

This is an archive of the discontinued Mercurial Phabricator instance.

py3: replace file() with open() in test-win32text.t
ClosedPublic

Authored by pulkit on Feb 11 2018, 7:39 AM.

Details

Summary

This patch also adds b'' prefix to make sure we write bytes on Python 3.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pulkit created this revision.Feb 11 2018, 7:39 AM
This revision was automatically updated to reflect the committed changes.