This is an archive of the discontinued Mercurial Phabricator instance.

py3: fix test-propertycache.py
ClosedPublic

Authored by mbthomas on Oct 14 2018, 7:50 AM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Commits
rHGd33611280add: py3: fix test-propertycache.py

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

mbthomas created this revision.Oct 14 2018, 7:50 AM
durin42 added inline comments.
tests/test-propertycache.py
48

I believe this should be pycompat.fsdecode instead

mbthomas added inline comments.Oct 14 2018, 10:12 AM
tests/test-propertycache.py
48

It looks like fsencode is the one that goes in the right direction (convert to bytes)

mbthomas updated this revision to Diff 12137.Oct 14 2018, 10:12 AM

Use pycompat.fsencode

This revision was automatically updated to reflect the committed changes.