Author: Armin Rigo <[email protected]>
Branch:
Changeset: r90604:74eb11789df3
Date: 2017-03-09 10:20 +0100
http://bitbucket.org/pypy/pypy/changeset/74eb11789df3/
Log: bound the list size
diff --git a/rpython/memory/gctransform/test/test_shadowcolor.py
b/rpython/memory/gctransform/test/test_shadowcolor.py
--- a/rpython/memory/gctransform/test/test_shadowcolor.py
+++ b/rpython/memory/gctransform/test/test_shadowcolor.py
@@ -246,7 +246,7 @@
regalloc = allocate_registers(graph)
assert summary_regalloc(regalloc) == [('a', 1)] * 2 + [('c', 0)] * 2
-@given(strategies.lists(strategies.booleans()))
+@given(strategies.lists(strategies.booleans(), max_size=31))
def test_make_bitmask(boollist):
index, bitmask = make_bitmask(boollist)
if index is None:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit