Skip to content
Snippets Groups Projects
Commit dd6700b0 authored by Manuel Jacob's avatar Manuel Jacob
Browse files

py3: avoid using repr() on bytes

We didn’t realize that this was broken because tests/test-illegal-contents.t is
skipped on the CI.

The change is similar to 503e9abfd50e.

As can be seen in the doctest, this changes output of non-ASCII characters. I
argue that the new output is better than the old because the old output exposed
an implementation detail (the repr() function of Python) while the new output
is something that can be copied and passed to other programs.
parent 5fd70a8a
No related branches found
No related tags found
2 merge requests!33Partially fix compat with Mercurial default,!32Fix and unskip test-illegal-contents.t
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment