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@g10code.com>
This commit is contained in:
parent
ef035f079f
commit
41398779ab
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user