[issue22512] 'test_distutils.test_bdist_rpm' causes creation of directory '.rpmdb' on home dir

2014-10-01 Thread Francis MB
Francis MB added the comment: I have to thank for your time, David! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22512 ___ ___

[issue22512] 'test_distutils.test_bdist_rpm' causes creation of directory '.rpmdb' on home dir

2014-09-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset ec6cee80926f by R David Murray in branch '3.4': #22512: move distutils rpm test's .rpmdb to testing tmpdir. https://hg.python.org/cpython/rev/ec6cee80926f New changeset 4877f91a0389 by R David Murray in branch 'default': Merge: #22512: move

[issue22512] 'test_distutils.test_bdist_rpm' causes creation of directory '.rpmdb' on home dir

2014-09-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset c5bcc4d07344 by R David Murray in branch '2.7': #22512: move distutils rpm test's .rpmdb to testing tmpdir. https://hg.python.org/cpython/rev/c5bcc4d07344 -- ___ Python tracker rep...@bugs.python.org

[issue22512] 'test_distutils.test_bdist_rpm' causes creation of directory '.rpmdb' on home dir

2014-09-30 Thread R. David Murray
R. David Murray added the comment: Thanks, Francis. -- resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22512 ___

[issue22512] 'test_distutils.test_bdist_rpm' causes creation of directory '.rpmdb' on home dir

2014-09-29 Thread Francis MB
Francis MB added the comment: Why is test.support.EnvironmentVarGuard preferable over distutils.test.support.EnvironGuard (with this one I'm not getting the warnings below)? If I change the patch to (not so different (?) as in other tests using EnvironmentVarGuard): $hg diff diff -r

[issue22512] 'test_distutils.test_bdist_rpm' causes creation of directory '.rpmdb' on home dir

2014-09-29 Thread R. David Murray
R. David Murray added the comment: Sorry, I'm not that familiar with distutils and did not realize it had stuff for environment protection in the setUp/tearDown. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22512

[issue22512] 'test_distutils.test_bdist_rpm' causes creation of directory '.rpmdb' on home dir

2014-09-29 Thread Francis MB
Francis MB added the comment: No problem, but is the, 3 lines, patch ok? what are the next steps, if yes? Shouldn't be the issue status now 'patch review' or similar? Thanks in advance! -- ___ Python tracker rep...@bugs.python.org

[issue22512] 'test_distutils.test_bdist_rpm' causes creation of directory '.rpmdb' on home dir

2014-09-29 Thread R. David Murray
R. David Murray added the comment: Yes, sorry I forgot to change the stage. -- stage: - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22512 ___

[issue22512] 'test_distutils.test_bdist_rpm' causes creation of directory '.rpmdb' on home dir

2014-09-28 Thread Francis MB
New submission from Francis MB: Running the test suite or 'test_distutils' triggers the creation of the directory '.rpmdb'. I noticed that because somehow that directory was bad formed and got errors while running the test suite: error: db5 error(-30969) from dbenv-open: BDB0091

[issue22512] 'test_distutils.test_bdist_rpm' causes creation of directory '.rpmdb' on home dir

2014-09-28 Thread R. David Murray
R. David Murray added the comment: Thanks for the report and patch. You should use test.support.EnvironmentVarGuard to make the environment change temporary. -- nosy: +r.david.murray versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org