Author: Matti Picus <matti.pi...@gmail.com>
Branch: 
Changeset: r97428:904f23b7e13b
Date: 2019-09-11 08:53 +0300
http://bitbucket.org/pypy/pypy/changeset/904f23b7e13b/

Log:    in hypothesis 3.51 average_size was deprecated, removed in
        hypothesis 4.0

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
@@ -143,7 +143,7 @@
         assert rutf8.codepoint_index_at_byte_position(
                        b, storage, bytepos, len(u)) == i
 
-@given(strategies.text(average_size=128))
+@given(strategies.text())
 def test_codepoint_position_at_index_inverse(u):
     print u
     b = u.encode('utf8')
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to