New submission from Sandro Tosi <sandro.t...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11030>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to