From 41398779abbcb1ec2d7491e141469a752fc706ff Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Thu, 2 Mar 2017 16:06:29 +0100 Subject: [PATCH] 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 --- 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 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'),