OSDN Git Service

testing: more robust leak test
authorMartin Renold <martinxyz@gmx.ch>
Sat, 13 Mar 2010 13:13:03 +0000 (14:13 +0100)
committerMartin Renold <martinxyz@gmx.ch>
Sat, 13 Mar 2010 18:20:05 +0000 (19:20 +0100)
commitabe84cab53908d32f7c67b51497ecc1323f8bb01
treed376b3113c82e40e1c55048bee979abbcdd87592
parent09cf55cec65eb8034d7194adc0ddfe16db60d4cf
testing: more robust leak test

Python sometimes does a strange memory increase after a few
iterations (even for pure Python test statements), so now we wait
until we got a fixed number of iterations without memory increase.
Simpler than before, and more stable.
tests/test_memory_leak.py