aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/tests/t-encrypt.py
diff options
context:
space:
mode:
authorTobias Mueller <[email protected]>2016-11-30 22:08:47 +0000
committerJustus Winter <[email protected]>2016-12-01 16:39:38 +0000
commitae21d2705fc46725e1f9af1651b68d16155d1501 (patch)
treedec3a3f0b365883d684fcf48ab2a84fe4313c4a0 /lang/python/tests/t-encrypt.py
parentpython: Make Context have a repr method. (diff)
downloadgpgme-ae21d2705fc46725e1f9af1651b68d16155d1501.tar.gz
gpgme-ae21d2705fc46725e1f9af1651b68d16155d1501.zip
python: Check "buffer" when writing to sys.stdout for python2 compat.
* lang/python/tests/support.py (print_data): Add check for buffer. -- When running with something like make -C lang/python check verbose=2 the test would fail under python2, because the file objects do not have a buffer property. Signed-off-by: Tobias Mueller <[email protected]>
Diffstat (limited to 'lang/python/tests/t-encrypt.py')
0 files changed, 0 insertions, 0 deletions