Author: Armin Rigo <[email protected]>
Branch: c7-refactor
Changeset: r843:fa7148a2c2ad
Date: 2014-02-24 18:01 +0100
http://bitbucket.org/pypy/stmgc/changeset/fa7148a2c2ad/
Log: fix test
diff --git a/c7/test/test_nursery.py b/c7/test/test_nursery.py
--- a/c7/test/test_nursery.py
+++ b/c7/test/test_nursery.py
@@ -75,9 +75,9 @@
assert lp2 == lp3
def test_many_allocs(self):
- lib._stm_set_nursery_free_count(NURSERY_SECTION_SIZE * 2)
- obj_size = 1024
- num = (NURSERY_SECTION_SIZE * 4) / obj_size + 41
+ lib._stm_set_nursery_free_count(32768)
+ obj_size = 512
+ num = 65536 / obj_size + 41
self.start_transaction()
for i in range(num):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit