comparison Makefile @ 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 7521e6d18057
children 8d432d3a2d7c
comparison
equal deleted inserted replaced
43282:47946f08e463 43283:96eb9ef777a8