py-hypothesis: updated 3.48.0

3.48.0:
This release improves some "unhappy paths" when using Hypothesis with the standard library :mod:python:unittest module:

* Applying :func:@given <hypothesis.given> to a non-test method which is overridden from :class:python:unittest.TestCase, such as setUp, raises :attr:a new health check <hypothesis.settings.not_a_test_method>. (:issue:991)
* Using :meth:~python:unittest.TestCase.subTest within a test decorated with :func:@given <hypothesis.given> would leak intermediate results when tests were run under the :mod:python:unittest test runner. Individual reporting of failing subtests is now disabled during a test using :func:@given <hypothesis.given>. (:issue:1071)
* :func:@given <hypothesis.given> is still not a class decorator, but the error message if you try using it on a class has been improved.

As a related improvement, using :class:django:django.test.TestCase with :func:@given <hypothesis.given> instead of :class:hypothesis.extra.django.TestCase raises an explicit error instead of running all examples in a single database transaction.
This commit is contained in:
adam 2018-03-05 13:52:38 +00:00
parent 0e3517831b
commit 7c9324075a
2 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.48 2018/03/02 14:49:36 adam Exp $
# $NetBSD: Makefile,v 1.49 2018/03/05 13:52:38 adam Exp $
DISTNAME= hypothesis-3.47.0
DISTNAME= hypothesis-3.48.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=h/hypothesis/}

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.45 2018/03/02 14:49:36 adam Exp $
$NetBSD: distinfo,v 1.46 2018/03/05 13:52:38 adam Exp $
SHA1 (hypothesis-3.47.0.tar.gz) = df8a1e87a6441bdab8a67df620b01d89dd618d19
RMD160 (hypothesis-3.47.0.tar.gz) = fb565d25196cf68b87017fcb924f74b3c76c9c80
SHA512 (hypothesis-3.47.0.tar.gz) = 14dd983fd7142df94cdb0564d439d0227f402c96c30509b0d755fbfd8142c0135fcbb379cd68e93bb4c8b622056c5e8881a17c2c5093b543974476a3bbf1ceb3
Size (hypothesis-3.47.0.tar.gz) = 148696 bytes
SHA1 (hypothesis-3.48.0.tar.gz) = ece4a754691344a3792bd5aa2ce1ce71732340d3
RMD160 (hypothesis-3.48.0.tar.gz) = 6af034ff8d4e52b2b8ae04a719a4c75b0e12b88c
SHA512 (hypothesis-3.48.0.tar.gz) = 76eee49a10940ffcc15022240d8c7f6a8737b762ba2e2df8fd8995956184d6750fd3f95e3b43694a4035ef70c6ed362a72ffbc3b4159b1dfdd97875b3d56636f
Size (hypothesis-3.48.0.tar.gz) = 149577 bytes