D5101: py3: fix test-propertycache.py

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Sun Oct 14 08:57:58 EDT 2018


durin42 added inline comments.

INLINE COMMENTS

> test-propertycache.py:48
>  # these tests on the real object to detect regression.
> -repopath = os.path.join(os.environ['TESTTMP'], 'repo')
> +repopath = pycompat.sysbytes(os.path.join(os.environ['TESTTMP'], 'repo'))
>  assert subprocess.call(['hg', 'init', repopath]) == 0

I believe this should be pycompat.fsdecode instead

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5101

To: mbthomas, #hg-reviewers
Cc: durin42, mercurial-devel


More information about the Mercurial-devel mailing list