R. David Murray added the comment:
Thanks. Shortened patch by using the fact that os.path.join returns the second
component if it is absolute, as discussed on IRC.
--
nosy: +r.david.murray
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
type: ->
Roundup Robot added the comment:
New changeset 6ff4e479f03b by R David Murray in branch 'default':
#11030: make --coverdir work for relative directories again.
http://hg.python.org/cpython/rev/6ff4e479f03b
--
nosy: +python-dev
___
Python tracker
New submission from Sandro Tosi :
Hi, following up msg127157 here's a patch to allow for relative path when using
--coverdir.
The current solution uses getcwd() but since CWD is replaced by a temporary
location before calling main(), then the resulting dir is in an unexpected
location.
using