Francis MB added the comment:
I have to thank for your time, David!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22512
___
___
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
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
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
___
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
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
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
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
___
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
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
10 matches
Mail list logo