Updates:
Labels: NeedsReview Testing
Comment #1 on issue 2585 by [email protected]: Tests take too much
memory
http://code.google.com/p/sympy/issues/detail?id=2585
Well, Tom Bachmann (ness) pointed out it could be caused by the cache. A
quick two-liner patch to clear the cache for every file run shows this to
be true. With it, we are never over 200 MB (which jibes well with our
current Jenkins setup, as Jenkins itself also takes ~200 MB and we have
half a gig on the server). The improvement in doctests was less dramatic,
to about 80MB, but I added the code there too. The pull request is:
https://github.com/sympy/sympy/pull/507
Note, if we ever switch back to py.test, we'd want to use the
pytest_runtest_teardown hook to clear the cache. The documentation is a bit
sparse, it's at:
http://pytest.org/latest/plugins.html?highlight=teardown#_pytest.hookspec.pytest_runtest_teardown
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.