[New-bugs-announce] [issue11030] regrtest - allow for relative path with --coverdir

Sandro Tosi report at bugs.python.org
Thu Jan 27 19:48:57 CET 2011


New submission from Sandro Tosi <sandro.tosi at gmail.com>:

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 support.SAVECWD we use the saved CWD that's where the script is executed, so the relative path is created/used where expected.

----------
assignee: sandro.tosi
components: Tests
files: regrtest_coverdir_relative_path-py3k.patch
keywords: patch
messages: 127207
nosy: sandro.tosi
priority: low
severity: normal
stage: patch review
status: open
title: regrtest - allow for relative path with --coverdir
versions: Python 3.3
Added file: http://bugs.python.org/file20551/regrtest_coverdir_relative_path-py3k.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11030>
_______________________________________


More information about the New-bugs-announce mailing list