( )⚙ D5650 tests: normalize to bytes in test-install.t

This is an archive of the discontinued Mercurial Phabricator instance.

tests: normalize to bytes in test-install.t
ClosedPublic

Authored by indygreg on Jan 22 2019, 9:45 PM.

Details

Summary

directory() was returning str and hgdirectory() was returning
bytes. This made the set compare fail. Let's normalize the types
on Python 3 so the test passes.

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

indygreg created this revision.Jan 22 2019, 9:45 PM
This revision was automatically updated to reflect the committed changes.