Alex Kost writes: > Marius Bakke (2016-09-01 18:41 +0300) wrote: > >> From f1bccf9bf26088107b6fec31eece30676d5a362f Mon Sep 17 00:00:00 2001 >> From: Marius Bakke >> Date: Wed, 17 Aug 2016 17:45:24 +0100 >> Subject: [PATCH] gnu: Add python-odfpy. >> >> * gnu/packages/python.scm (python-odfpy, python2-odfpy): New variables. > [...] >> + (arguments >> + `(#:phases >> + (modify-phases %standard-phases >> + (replace 'check >> + ;; The test runner invokes python2 and python3 for test*.py. >> + ;; To avoid having both in inputs, we replicate it here. >> + (lambda _ >> + (for-each (lambda (test-file) > > 'every' procedure should be used here instead: 'for-each' is for side > effects only, its returned value is unspecified; and with 'every', the > check phase will fail if any of the tests fails. Thanks Alex, that's really useful to know. I've updated the patch.