sympy/sympy — pull request #988 by povik (2012-01-15 22:54:12+00:00)
Title: [GCI 2011] Fix issue 2481: Run the sage tests with ./bin/test when possible

`test_sage.py` is now part of tests executed by `setup.py test` if Sage is installed.
Sage tests can't be simply executed from ./bin/test as they need to be run by Python bundled with Sage.
Check for Sage is done by looking at the exit status of `sage -v`. (I didn't come with a better way that's likely to work everywhere.)
This needs to be tested on other platforms than Linux-based OSes.