Mercurial > hg
comparison hgext/logtoprocess.py @ 43283:96eb9ef777a8
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
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 17 Oct 2019 20:40:12 -0700 |
parents | 687b865b95ad |
children | 7c0b8652fd8c |
comparison
equal
deleted
inserted
replaced
43282:47946f08e463 | 43283:96eb9ef777a8 |
---|