[pypy-commit] pypy default: release notes for hypothesis 4.0.0: "average_size was a no-op, is removed

mattip pypy.commits at gmail.com
Thu Feb 14 03:26:45 EST 2019


Author: Matti Picus <matti.picus at gmail.com>
Branch: 
Changeset: r96011:271763ca6c71
Date: 2019-02-14 09:45 +0200
http://bitbucket.org/pypy/pypy/changeset/271763ca6c71/

Log:	release notes for hypothesis 4.0.0: "average_size was a no-op, is
	removed

diff --git a/rpython/rlib/test/test_rutf8.py b/rpython/rlib/test/test_rutf8.py
--- a/rpython/rlib/test/test_rutf8.py
+++ b/rpython/rlib/test/test_rutf8.py
@@ -130,7 +130,7 @@
         assert (rutf8.codepoint_position_at_index(u.encode('utf8'), index, i) ==
                 len(u[:i].encode('utf8')))
 
- at given(strategies.text(average_size=140))
+ at given(strategies.text())
 @example(u'x' * 64 * 5)
 @example(u'x' * (64 * 5 - 1))
 def test_codepoint_index_at_byte_position(u):


More information about the pypy-commit mailing list