open() on Python 3 returns a value whereas does not return anything on Python 2.
So we need to supress the value.
Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHGfd0e6678ba0f: py3: suppress the return value of write() in tests/test-subrepo-missing.t
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
Nit: (I've seen a few commit messages with this mistake.) The thing whose return is being suppressed is .write() not open().
Comment Actions
If you can fix the commit message on flight, please do. I will take care of this next time.