Patchwork [2,of,2,STABLE] hghave.py: improve description of Hypothesis

login
register
mail settings
Submitter timeless@mozdev.org
Date March 8, 2016, 2:33 p.m.
Message ID <3b4891bbcdc7d49536f9.1457447587@waste.org>
Download mbox | patch
Permalink /patch/13682/
State Accepted
Headers show

Comments

timeless@mozdev.org - March 8, 2016, 2:33 p.m.
# HG changeset patch
# User timeless <timeless@mozdev.org>
# Date 1457447523 0
#      Tue Mar 08 14:32:03 2016 +0000
# Branch stable
# Node ID 3b4891bbcdc7d49536f9c3de5d8ae591fc8d7e25
# Parent  7ff966bbfb67fd81003a15748bf2cab91cf59065
hghave.py: improve description of Hypothesis
timeless - March 8, 2016, 2:44 p.m.
This doesn't need to be on stable.
Augie Fackler - March 8, 2016, 2:54 p.m.
On Tue, Mar 08, 2016 at 08:33:07AM -0600, timeless wrote:
> # HG changeset patch
> # User timeless <timeless@mozdev.org>
> # Date 1457447523 0
> #      Tue Mar 08 14:32:03 2016 +0000
> # Branch stable
> # Node ID 3b4891bbcdc7d49536f9c3de5d8ae591fc8d7e25
> # Parent  7ff966bbfb67fd81003a15748bf2cab91cf59065
> hghave.py: improve description of Hypothesis

Queued these on default, thanks.

>
> diff --git a/tests/hghave.py b/tests/hghave.py
> --- a/tests/hghave.py
> +++ b/tests/hghave.py
> @@ -469,7 +469,7 @@
>  def has_slow():
>      return os.environ.get('HGTEST_SLOW') == 'slow'
>
> -@check("hypothesis", "is Hypothesis installed")
> +@check("hypothesis", "Hypothesis automated test generation")
>  def has_hypothesis():
>      try:
>          import hypothesis
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Patch

diff --git a/tests/hghave.py b/tests/hghave.py
--- a/tests/hghave.py
+++ b/tests/hghave.py
@@ -469,7 +469,7 @@ 
 def has_slow():
     return os.environ.get('HGTEST_SLOW') == 'slow'
 
-@check("hypothesis", "is Hypothesis installed")
+@check("hypothesis", "Hypothesis automated test generation")
 def has_hypothesis():
     try:
         import hypothesis