Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (20m)  pkgsrc-2024Q1 (6d)  pkgsrc-2023Q4 (53d)  pkgsrc-2023Q2 (85d)  pkgsrc-2023Q3 (165d) 

2024-05-23 19:36:46 UTC Now

2018-12-13 07:11:49 UTC MAIN commitmail json YAML

py-hypothesis: updated to 3.83.1

3.83.1:
This patch increases the variety of examples generated by st.from_type(type).

3.83.0:
Our pytest plugin now warns you when strategy functions have been collected as tests, which may happen when e.g. using the :func:@composite <hypothesis.strategies.composite> decorator when you should be using @given(st.data()) for inline draws. Such functions always pass when treated as tests, because the lazy creation of strategies mean that the function body is never actually executed!

3.82.6:
Hypothesis can now :ref:show statistics <statistics> when running under :pypi:pytest-xdist. Previously, statistics were only reported when all tests were run in a single process (:issue:700).

3.82.5:
This patch fixes :issue:1667, where passing bounds of Numpy dtype int64 to :func:~hypothesis.strategies.integers could cause errors on Python 3 due to internal rounding.

3.82.4:
Hypothesis now seeds and resets the global state of :class:np.random <numpy:numpy.random.RandomState> for each test case, to ensure that tests are reproducible.

This matches and complements the existing handling of the :mod:python:random module - Numpy simply maintains an independent PRNG for performance reasons.

3.82.3:
This is a no-op release to add the new Framework :: Hypothesis trove classifier to :pypi:hypothesis on PyPI.

You can use it as a filter to find Hypothesis-related packages such as extensions as they add the tag over the coming weeks, or simply visit :doc:our curated list <strategies>.

3.82.2:
The :ref:Hypothesis for Pandas extension <hypothesis-pandas> is now listed in setup.py, so you can pip install hypothesis[pandas]. Thanks to jmshi for this contribution.

(adam)