Somehow these are only caught when running the test under Python 3.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG7bc33d677c0c: tests: fix various test-check-module-imports.t violations
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.
Event Timeline
tests/test-i18n.t | ||
---|---|---|
58–59 | I am not sure why we need this but according to rest of the patch, these couple of imports should be in new lines. |
tests/test-i18n.t | ||
---|---|---|
58–59 | The linter doesn't enforce that, so I didn't bother. Two imports felt short enough as to not explode it out into multiple lines. The import checker does require that importing encoding or registrar has to come after importing _ from i18n. |
I am not sure why we need this but according to rest of the patch, these couple of imports should be in new lines.