gpgme/lang/python/tests
Tobias Mueller ae21d2705f 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 <muelli@cryptobitch.de>
2016-12-01 17:39:38 +01:00
..
encrypt-only.asc python: Add an idiomatic interface. 2016-07-15 18:28:09 +02:00
final.py python: Import from __future__ to align behavior of Python 2.7. 2016-09-14 12:15:57 +02:00
initial.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
Makefile.am python: Fix removing the TOFU database. 2016-11-25 09:55:42 +01:00
run-tests.py python: Build for both Python2 and Python3. 2016-09-14 12:18:15 +02:00
sign-only.asc python: Add an idiomatic interface. 2016-07-15 18:28:09 +02:00
support.py python: Check "buffer" when writing to sys.stdout for python2 compat. 2016-12-01 17:39:38 +01:00
t-callbacks.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-data.py python: Import the topmost module in tests and examples. 2016-10-31 15:42:35 +01:00
t-decrypt-verify.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-decrypt.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-edit.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-encrypt-large.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-encrypt-sign.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-encrypt-sym.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-encrypt.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-export.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-file-name.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-idiomatic.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-import.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-keylist.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-protocol-assuan.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-sig-notation.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-sign.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-signers.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-trustlist.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-verify.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-wait.py python: Use vanity modules for constants in tests and examples. 2016-10-31 15:42:35 +01:00
t-wrapper.py python: Import the topmost module in tests and examples. 2016-10-31 15:42:35 +01:00