From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 3/4] gnu: Add python-pytest-subtesthack. Date: Tue, 02 Feb 2016 15:31:18 +0100 Message-ID: <874mdrfakp.fsf@gnu.org> References: <0ae50198e4e36bc75ad822bfc99d1c6aaa9ed766.1454285257.git.leo@famulari.name> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQbzK-0006Iv-42 for guix-devel@gnu.org; Tue, 02 Feb 2016 09:31:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQbzF-0007sl-2A for guix-devel@gnu.org; Tue, 02 Feb 2016 09:31:26 -0500 In-Reply-To: <0ae50198e4e36bc75ad822bfc99d1c6aaa9ed766.1454285257.git.leo@famulari.name> (Leo Famulari's message of "Sun, 31 Jan 2016 19:08:42 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Leo Famulari Cc: guix-devel@gnu.org Leo Famulari skribis: > * gnu/packages/python.scm (python-pytest-subtesthack, > python2-pytest-subtesthack): New variables. [...] > + (synopsis "Explicitly set up and tear down fixtures") What about: =E2=80=9CSet-up and tear-down fixtures for unit tests=E2=80=9D? > + (description "This plugin allows you to set up and tear down fixture= s within > +the test function itself. s/the test function itself/unit test functions that use @code{py.test}/ > This is useful for using @command{hypothesis} inside > +py.test, as @command{hypothesis} will call the test function multiple ti= mes, > +without setting up or tearing down fixture state as is normally the case= .") OK with a change along these lines, thanks! Ludo=E2=80=99.