* Package: dev-python/pygcrypt-1.0.0 * Repository: gentoo * Maintainer: mgorny@gentoo.org python@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_5 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking pygcrypt-1.0.0.tar.gz to /var/tmp/portage/dev-python/pygcrypt-1.0.0/work >>> Source unpacked in /var/tmp/portage/dev-python/pygcrypt-1.0.0/work >>> Preparing source in /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0 ... * python3_5: running distutils-r1_run_phase distutils-r1_python_compile python3.5 setup.py build pygcrypt/_gcrypt.c: In function ‘_cffi_d_gcry_md_info’: pygcrypt/_gcrypt.c:5609:3: warning: ‘gcry_md_info’ is deprecated [-Wdeprecated-declarations] return gcry_md_info(x0, x1, x2, x3); ^~~~~~ In file included from pygcrypt/_gcrypt.c:493:0: /usr/include/gcrypt.h:1341:14: note: declared here gcry_error_t gcry_md_info (gcry_md_hd_t h, int what, void *buffer, ^~~~~~~~~~~~ pygcrypt/_gcrypt.c: In function ‘_cffi_f_gcry_md_info’: pygcrypt/_gcrypt.c:5668:3: warning: ‘gcry_md_info’ is deprecated [-Wdeprecated-declarations] { result = gcry_md_info(x0, x1, x2, x3); } ^ In file included from pygcrypt/_gcrypt.c:493:0: /usr/include/gcrypt.h:1341:14: note: declared here gcry_error_t gcry_md_info (gcry_md_hd_t h, int what, void *buffer, ^~~~~~~~~~~~ pygcrypt/_gcrypt.c: In function ‘_cffi_d_gcry_set_log_handler’: pygcrypt/_gcrypt.c:11091:24: warning: passing argument 1 of ‘gcry_set_log_handler’ from incompatible pointer type [-Wincompatible-pointer-types] gcry_set_log_handler(x0, x1); ^~ In file included from pygcrypt/_gcrypt.c:493:0: /usr/include/gcrypt.h:1759:6: note: expected ‘gcry_handler_log_t {aka void (*)(void *, int, const char *, __va_list_tag *)}’ but argument is of type ‘void (*)(void *, int, const char *)’ void gcry_set_log_handler (gcry_handler_log_t f, void *opaque); ^~~~~~~~~~~~~~~~~~~~ pygcrypt/_gcrypt.c: In function ‘_cffi_f_gcry_set_log_handler’: pygcrypt/_gcrypt.c:11123:26: warning: passing argument 1 of ‘gcry_set_log_handler’ from incompatible pointer type [-Wincompatible-pointer-types] { gcry_set_log_handler(x0, x1); } ^~ In file included from pygcrypt/_gcrypt.c:493:0: /usr/include/gcrypt.h:1759:6: note: expected ‘gcry_handler_log_t {aka void (*)(void *, int, const char *, __va_list_tag *)}’ but argument is of type ‘void (*)(void *, int, const char *)’ void gcry_set_log_handler (gcry_handler_log_t f, void *opaque); ^~~~~~~~~~~~~~~~~~~~ running build running build_py creating /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt copying pygcrypt/build_gerror.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt copying pygcrypt/__init__.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt copying pygcrypt/errors.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt copying pygcrypt/_gcrypt.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt copying pygcrypt/utils.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt copying pygcrypt/ecurve.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt copying pygcrypt/hmaccontext.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt copying pygcrypt/ciphers.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt copying pygcrypt/build_gcrypt.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt copying pygcrypt/context.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt copying pygcrypt/hashcontext.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt creating /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/test copying pygcrypt/test/test_ec_point.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/test copying pygcrypt/test/test_hash.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/test copying pygcrypt/test/__init__.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/test copying pygcrypt/test/conftest.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/test copying pygcrypt/test/test_mpi.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/test copying pygcrypt/test/test_hmac.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/test copying pygcrypt/test/test_utils.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/test copying pygcrypt/test/test_ciphers.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/test copying pygcrypt/test/test_ecurve.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/test copying pygcrypt/test/test_sexpr.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/test copying pygcrypt/test/test_keys.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/test creating /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/gctypes copying pygcrypt/gctypes/sexpression.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/gctypes copying pygcrypt/gctypes/__init__.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/gctypes copying pygcrypt/gctypes/ec_point.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/gctypes copying pygcrypt/gctypes/mpi.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/gctypes copying pygcrypt/gctypes/key.py -> /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/gctypes warning: build_py: byte-compiling is disabled, skipping. running build_ext generating cffi module '/var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gcrypt.c' creating /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5 generating cffi module '/var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gerror.c' building 'pygcrypt._gerror' extension creating /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/var creating /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/var/tmp creating /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/var/tmp/portage creating /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/var/tmp/portage/dev-python creating /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/var/tmp/portage/dev-python/pygcrypt-1.0.0 creating /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/var/tmp/portage/dev-python/pygcrypt-1.0.0/work creating /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5 creating /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -I/usr/include/python3.5m -c /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gerror.c -o /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gerror.o x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gerror.o -L/usr/lib64 -lgpg-error -lpython3.5m -o /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/_gerror.abi3.so building 'pygcrypt._gcrypt' extension x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fPIC -I/usr/include/python3.5m -c /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gcrypt.c -o /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gcrypt.o /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gcrypt.c: In function ‘_cffi_d_gcry_md_info’: /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gcrypt.c:5609:3: warning: ‘gcry_md_info’ is deprecated [-Wdeprecated-declarations] return gcry_md_info(x0, x1, x2, x3); ^~~~~~ In file included from /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gcrypt.c:493:0: /usr/include/gcrypt.h:1341:14: note: declared here gcry_error_t gcry_md_info (gcry_md_hd_t h, int what, void *buffer, ^~~~~~~~~~~~ /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gcrypt.c: In function ‘_cffi_f_gcry_md_info’: /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gcrypt.c:5668:3: warning: ‘gcry_md_info’ is deprecated [-Wdeprecated-declarations] { result = gcry_md_info(x0, x1, x2, x3); } ^ In file included from /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gcrypt.c:493:0: /usr/include/gcrypt.h:1341:14: note: declared here gcry_error_t gcry_md_info (gcry_md_hd_t h, int what, void *buffer, ^~~~~~~~~~~~ /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gcrypt.c: In function ‘_cffi_d_gcry_set_log_handler’: /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gcrypt.c:11091:24: warning: passing argument 1 of ‘gcry_set_log_handler’ from incompatible pointer type [-Wincompatible-pointer-types] gcry_set_log_handler(x0, x1); ^~ In file included from /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gcrypt.c:493:0: /usr/include/gcrypt.h:1759:6: note: expected ‘gcry_handler_log_t {aka void (*)(void *, int, const char *, __va_list_tag *)}’ but argument is of type ‘void (*)(void *, int, const char *)’ void gcry_set_log_handler (gcry_handler_log_t f, void *opaque); ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gcrypt.c: In function ‘_cffi_f_gcry_set_log_handler’: /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gcrypt.c:11123:26: warning: passing argument 1 of ‘gcry_set_log_handler’ from incompatible pointer type [-Wincompatible-pointer-types] { gcry_set_log_handler(x0, x1); } ^~ In file included from /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gcrypt.c:493:0: /usr/include/gcrypt.h:1759:6: note: expected ‘gcry_handler_log_t {aka void (*)(void *, int, const char *, __va_list_tag *)}’ but argument is of type ‘void (*)(void *, int, const char *)’ void gcry_set_log_handler (gcry_handler_log_t f, void *opaque); ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/temp.linux-x86_64-3.5/pygcrypt._gcrypt.o -L/usr/lib64 -lgcrypt -lpython3.5m -o /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0-python3_5/lib/pygcrypt/_gcrypt.abi3.so >>> Source compiled. >>> Test phase: dev-python/pygcrypt-1.0.0 * python3_5: running distutils-r1_run_phase python_test ============================= test session starts ============================== platform linux -- Python 3.5.5, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 -- /usr/bin/python3.5 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0, inifile: plugins: xdist-1.15.0, virtualenv-1.2.11, timeout-1.2.1, shutil-1.2.11, pythonpath-0.7.1, forked-0.2, expect-1.1.0, cov-2.5.1, capturelog-0.7, hypothesis-3.59.1, case-1.5.3, backports.unittest-mock-1.3 collecting ... collected 88 items pygcrypt/test/test_ciphers.py::test_init PASSED [ 1%] pygcrypt/test/test_ciphers.py::test_get_info PASSED [ 2%] pygcrypt/test/test_ciphers.py::test_set_key_iv PASSED [ 3%] pygcrypt/test/test_ciphers.py::test_reset_cipher PASSED [ 4%] pygcrypt/test/test_ciphers.py::test_encrypt_decrypt PASSED [ 5%] pygcrypt/test/test_ec_point.py::test_get PASSED [ 6%] pygcrypt/test/test_ec_point.py::test_set PASSED [ 7%] pygcrypt/test/test_ec_point.py::test_affine PASSED [ 9%] pygcrypt/test/test_ec_point.py::test_mul PASSED [ 10%] pygcrypt/test/test_ec_point.py::test_add PASSED [ 11%] pygcrypt/test/test_ec_point.py::test_double PASSED [ 12%] pygcrypt/test/test_ec_point.py::test_oncurve PASSED [ 13%] pygcrypt/test/test_ecurve.py::test_get PASSED [ 14%] pygcrypt/test/test_ecurve.py::test_set PASSED [ 15%] pygcrypt/test/test_ecurve.py::test_getkey PASSED [ 17%] pygcrypt/test/test_hash.py::test_init PASSED [ 18%] pygcrypt/test/test_hash.py::test_valid PASSED [ 19%] pygcrypt/test/test_hash.py::test_getattr PASSED [ 20%] pygcrypt/test/test_hash.py::test_enable PASSED [ 21%] pygcrypt/test/test_hash.py::test_setkey PASSED [ 22%] pygcrypt/test/test_hash.py::test_write PASSED [ 23%] pygcrypt/test/test_hash.py::test_read PASSED [ 25%] pygcrypt/test/test_hash.py::test_reset PASSED [ 26%] pygcrypt/test/test_hash.py::test_copy PASSED [ 27%] pygcrypt/test/test_hmac.py::test_init PASSED [ 28%] pygcrypt/test/test_hmac.py::test_set PASSED [ 29%] pygcrypt/test/test_hmac.py::test_get PASSED [ 30%] pygcrypt/test/test_hmac.py::test_write PASSED [ 31%] pygcrypt/test/test_hmac.py::test_read PASSED [ 32%] pygcrypt/test/test_hmac.py::test_reset PASSED [ 34%] pygcrypt/test/test_hmac.py::test_verify PASSED [ 35%] pygcrypt/test/test_keys.py::test_generate_keys SKIPPED [ 36%] pygcrypt/test/test_keys.py::test_keylen PASSED [ 37%] pygcrypt/test/test_keys.py::test_keygrip PASSED [ 38%] pygcrypt/test/test_keys.py::test_sanity PASSED [ 39%] pygcrypt/test/test_keys.py::test_algo PASSED [ 40%] pygcrypt/test/test_keys.py::test_encryption PASSED [ 42%] pygcrypt/test/test_keys.py::test_sign PASSED [ 43%] pygcrypt/test/test_mpi.py::test_setui PASSED [ 44%] pygcrypt/test/test_mpi.py::test_repr PASSED [ 45%] pygcrypt/test/test_mpi.py::test_set PASSED [ 46%] pygcrypt/test/test_mpi.py::test_copy PASSED [ 47%] pygcrypt/test/test_mpi.py::test_mul PASSED [ 48%] pygcrypt/test/test_mpi.py::test_add PASSED [ 50%] pygcrypt/test/test_mpi.py::test_sub PASSED [ 51%] pygcrypt/test/test_mpi.py::test_div PASSED [ 52%] pygcrypt/test/test_mpi.py::test_mod PASSED [ 53%] pygcrypt/test/test_mpi.py::test_addm PASSED [ 54%] pygcrypt/test/test_mpi.py::test_subm PASSED [ 55%] pygcrypt/test/test_mpi.py::test_mulm PASSED [ 56%] pygcrypt/test/test_mpi.py::test_mul2exp PASSED [ 57%] pygcrypt/test/test_mpi.py::test_powm PASSED [ 59%] pygcrypt/test/test_mpi.py::test_gcd PASSED [ 60%] pygcrypt/test/test_mpi.py::test_invm PASSED [ 61%] pygcrypt/test/test_mpi.py::test_inv_abs PASSED [ 62%] pygcrypt/test/test_mpi.py::test_swap PASSED [ 63%] pygcrypt/test/test_mpi.py::test_snatch PASSED [ 64%] pygcrypt/test/test_mpi.py::test_isneg PASSED [ 65%] pygcrypt/test/test_mpi.py::test_eq PASSED [ 67%] pygcrypt/test/test_mpi.py::test_gt PASSED [ 68%] pygcrypt/test/test_mpi.py::test_lt PASSED [ 69%] pygcrypt/test/test_mpi.py::test_ge PASSED [ 70%] pygcrypt/test/test_mpi.py::test_le PASSED [ 71%] pygcrypt/test/test_mpi.py::test_lshift PASSED [ 72%] pygcrypt/test/test_mpi.py::test_rshift PASSED [ 73%] pygcrypt/test/test_mpi.py::test_getbits PASSED [ 75%] pygcrypt/test/test_mpi.py::test_setbits PASSED [ 76%] pygcrypt/test/test_mpi.py::test_highbit PASSED [ 77%] pygcrypt/test/test_mpi.py::test_len PASSED [ 78%] pygcrypt/test/test_mpi.py::test_flags PASSED [ 79%] pygcrypt/test/test_mpi.py::test_opaque PASSED [ 80%] pygcrypt/test/test_mpi.py::test_prime PASSED [ 81%] pygcrypt/test/test_sexpr.py::test_init PASSED [ 82%] pygcrypt/test/test_sexpr.py::test_getitem PASSED [ 84%] pygcrypt/test/test_sexpr.py::test_carcdr PASSED [ 85%] pygcrypt/test/test_sexpr.py::test_extract PASSED [ 86%] pygcrypt/test/test_sexpr.py::test_keys PASSED [ 87%] pygcrypt/test/test_sexpr.py::test_iterate PASSED [ 88%] pygcrypt/test/test_sexpr.py::test_contains PASSED [ 89%] pygcrypt/test/test_sexpr.py::test_setitem PASSED [ 90%] pygcrypt/test/test_sexpr.py::test_delitem PASSED [ 92%] pygcrypt/test/test_sexpr.py::test_length PASSED [ 93%] pygcrypt/test/test_sexpr.py::test_fromdict FAILED [ 94%] pygcrypt/test/test_utils.py::test_keyderive PASSED [ 95%] pygcrypt/test/test_utils.py::test_scan PASSED [ 96%] pygcrypt/test/test_utils.py::test_mpi_print PASSED [ 97%] pygcrypt/test/test_utils.py::test_utils_random PASSED [ 98%] pygcrypt/test/test_utils.py::test_utils_srandom PASSED [100%] =================================== FAILURES =================================== ________________________________ test_fromdict _________________________________ context = def test_fromdict(context): dict_a = {'a': MPIint(1)} dict_b = {'a': "123"} dict_c = {'a': "Hello World"} dict_d = {'a': {'b': "Test", 'c': 123}} assert str(SExpression.from_dict(dict_a)) == str(SExpression(b'(a %m)', MPIint(1))) assert str(SExpression.from_dict(dict_b)) == str(SExpression(b'(a %s)', "123")) assert str(SExpression.from_dict(dict_c)) == str(SExpression(b'(a %b)', 11, "Hello World")) > assert str(SExpression.from_dict(dict_d)) == str(SExpression(b'(a (b %b)(c %d))', 4, "Test", 123)) E assert "SExpression(...st)\\n )\\n')" == 'SExpression(b...")\\n )\\n\')' E - SExpression(b'(a \n (c "123")\n (b Test)\n )\n') E ? ----------- E + SExpression(b'(a \n (b Test)\n (c "123")\n )\n') E ? +++++++++++ pygcrypt/test/test_sexpr.py:83: AssertionError =============================== warnings summary =============================== None pytest-capturelog plugin has been merged into the core, please remove it from your requirements. -- Docs: http://doc.pytest.org/en/latest/warnings.html ========== 1 failed, 86 passed, 1 skipped, 1 warnings in 1.32 seconds ========== * ERROR: dev-python/pygcrypt-1.0.0::gentoo failed (test phase): * Tests failed against python3.5 * * Call stack: * ebuild.sh, line 124: Called src_test * environment, line 2636: Called distutils-r1_src_test * environment, line 888: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 350: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2169: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1542: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1540: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 562: Called distutils-r1_run_phase 'python_test' * environment, line 819: Called python_test * environment, line 2538: Called die * The specific snippet of code: * py.test -v || die "Tests failed against ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/pygcrypt-1.0.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pygcrypt-1.0.0::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:pygcrypt-1.0.0:20180701-190750.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pygcrypt-1.0.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygcrypt-1.0.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0' * S: '/var/tmp/portage/dev-python/pygcrypt-1.0.0/work/pygcrypt-1.0.0'