Home GnuPG
Diffusion GPGME ac4849953860

python: Make tests more robust.
ac4849953860Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

python: Make tests more robust.

* lang/python/tests/support.py (TemporaryDirectory): Always use our
own version even if 'tempfile.TemporaryDirectory' is provided, because
we need to use 'shutil.rmtree(..., ignore_errors=True)' to avoid it
tripping over gpg-agent deleting its own sockets.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Mar 14 2017, 11:08 AM
Parents
rMa4201035fdc0: python: Improve build system integration.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rMac4849953860: python: Make tests more robust. (authored by Justus Winter <justus@g10code.com>).Mar 14 2017, 12:20 PM