Skip to content
Snippets Groups Projects
Commit 96eb9ef777a8 authored by Gregory Szorc's avatar Gregory Szorc
Browse files

run-tests: make code coverage work on Python 3

This code path was obviously not tested on Python 3 because it
blew up in several places due to str/bytes mismatch.

For internal code, we normalize paths to bytes.

For code calling into `coverage`, we normalize paths to str,
which is what `coverage` seems to expect.

After this, `run-tests.py -H` works on Python 3!

Differential Revision: https://phab.mercurial-scm.org/D7133
parent 47946f08e463
No related branches found
No related tags found
No related merge requests found
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