D7601: fuzz: fix test-fuzz-targets.t to run with python3

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Wed Dec 11 10:20:41 EST 2019


mharbison72 added inline comments.

INLINE COMMENTS

> mpatch_corpus.py:53
> +        # py2 calls __repr__ when you do `bytes(foo)`
> +        return self.__bytes__()
> +

Doesn't `__repr__` have to return `str` on py3?  It looks like there are few other instances of this.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7601/new/

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

To: spectral, #hg-reviewers, pulkit
Cc: mharbison72, mercurial-devel


More information about the Mercurial-devel mailing list