Made gc.collect() call conditional to running on pypy.
1 file changed