Author: Matti Picus <matti.pi...@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'))) -@given(strategies.text(average_size=140)) +@given(strategies.text()) @example(u'x' * 64 * 5) @example(u'x' * (64 * 5 - 1)) def test_codepoint_index_at_byte_position(u): _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit