sympy/sympy — pull request #961 by goodok (2012-01-12 10:47:53+00:00)
Title: Reset random seed for each function.

Cite from Aaron's comment #4 from issue [2956](http://code.google.com/p/sympy/issues/detail?id=2956):

"""
this is a problem with random testing. If any intermediate test is added (or even changed), then the same seed will not produce the same result.

This can be helped a little bit by resetting the seed before each test function.
"""

It should help to reproduce the failures for different branches when the test function uses random.