sympy/sympy — pull request #1655 by jrioux (2012-11-14 10:45:58+00:00)
Title: Refactor the testing for "def test_" in test files.

Currently, for files matching `test_*.py`, each lines are first tested for the proper `def test_`, and then the file isn't rewinded before each lines are tested again for all the remaining code quality issues. Here I refactor the test so that the `def test_` test and all the other code quality tests are done in one go through the file.