( )⚙ D6391 py3: make contrib/testparseutil.py to work on str(unicodes)

This is an archive of the discontinued Mercurial Phabricator instance.

py3: make contrib/testparseutil.py to work on str(unicodes)
ClosedPublic

Authored by pulkit on May 16 2019, 2:38 PM.

Details

Summary

contrib/check-code work on unicodes and call functions from testparseutil.py
which before this patch used to work on bytes.

This path removes that inconsistency and make testparseutil.py work on unicodes.

This makes test-check-code.t and test-contrib-check-code.t work on Python 3
again.

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.May 16 2019, 2:38 PM
This revision was automatically updated to reflect the committed changes.