diff options
author | Justus Winter <[email protected]> | 2017-03-02 15:06:29 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-03-02 15:06:29 +0000 |
commit | 41398779abbcb1ec2d7491e141469a752fc706ff (patch) | |
tree | efafc62d0be30daaaf2aefe5e8516bb2d19064e9 /lang/python/tests/initial.py | |
parent | core: Fix minor code style thing. (diff) | |
download | gpgme-41398779abbcb1ec2d7491e141469a752fc706ff.tar.gz gpgme-41398779abbcb1ec2d7491e141469a752fc706ff.zip |
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 <[email protected]>
Diffstat (limited to 'lang/python/tests/initial.py')
-rwxr-xr-x | lang/python/tests/initial.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/python/tests/initial.py b/lang/python/tests/initial.py index ebe7f8ad..4a02762b 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'), |