[Pkg-gnupg-commit] [gpgme] 92/132: python: Print path of the Python module used during tests.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Apr 26 01:01:32 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gpgme.

commit 41398779abbcb1ec2d7491e141469a752fc706ff
Author: Justus Winter <justus at g10code.com>
Date:   Thu Mar 2 16:06:29 2017 +0100

    python: Print path of the Python module used during tests.
    
    * lang/python/tests/initial.py: Print path of the Python module used
    during tests.  Useful to detect if by any mistake the wrong module is
    picked up.
    
    Signed-off-by: Justus Winter <justus at g10code.com>
---
 lang/python/tests/initial.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lang/python/tests/initial.py b/lang/python/tests/initial.py
index ebe7f8a..4a02762 100755
--- a/lang/python/tests/initial.py
+++ b/lang/python/tests/initial.py
@@ -24,6 +24,9 @@ import os
 import subprocess
 import gpg
 import support
+
+print("Using gpg module from {0!r}.".format(os.path.dirname(gpg.__file__)))
+
 support.init_gpgme(gpg.constants.protocol.OpenPGP)
 
 subprocess.check_call([os.path.join(os.getenv('top_srcdir'),

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git



More information about the Pkg-gnupg-commit mailing list