D1433: run-tests: fix TESTDIR if testdescs are absolute paths
spectral (Kyle Lippincott)
phabricator at mercurial-scm.org
Thu Nov 16 15:42:57 EST 2017
spectral added a comment.
In https://phab.mercurial-scm.org/D1433#23806, @yuja wrote:
> Looks good, but perhaps we can simply do `os.path.join(TESTDIR, pathname)`
> for any pathname.
I didn't think that would work because of bytes, but apparently it does, at least on 2.7.13 and 3.5.3 on my linux machine. Done.
To: spectral, #hg-reviewers, yuja
Cc: yuja, mercurial-devel
More information about the Mercurial-devel