[pypy-commit] pypy default: average_size was a no-op and has been removed

mattip pypy.commits at gmail.com
Thu Mar 14 01:53:26 EDT 2019


Author: Matti Picus <matti.picus at gmail.com>
Branch: 
Changeset: r96309:844d3753b3a9
Date: 2019-03-14 07:30 +0200
http://bitbucket.org/pypy/pypy/changeset/844d3753b3a9/

Log:	average_size was a no-op and has been removed

	https://hypothesis.readthedocs.io/en/latest/changes.html#strategies

diff --git a/rpython/rlib/test/test_rawrefcount_boehm.py b/rpython/rlib/test/test_rawrefcount_boehm.py
--- a/rpython/rlib/test/test_rawrefcount_boehm.py
+++ b/rpython/rlib/test/test_rawrefcount_boehm.py
@@ -111,7 +111,7 @@
         pyobjs.append(varname)
         return varname
 
-    for op in draw(strategies.lists(operations, average_size=250)):
+    for op in draw(strategies.lists(operations)):
         if op == 'new_gcobj':
             new_gcobj()
         elif op == 'new_pyobj':


More information about the pypy-commit mailing list