file() is not present in Python 3.
This also makes sure we write things in bytes mode in Python 3.
Details
Details
- Reviewers
yuja - Group Reviewers
hg-reviewers - Commits
- rHG035af48b2903: py3: replace file() with open() in test-encoding.t
Diff Detail
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.