astropy/astropy — pull request #110 by jiffyclub (2011-12-09 23:38:28+00:00)
Title: Use bundled pytest

Since #76 doesn't seem to work this is my next favorite option: `astropy.tests.helper` loads the bundled py.test unless the user has set a config option called `use_system_pytest`. I've also added the `minversion=2.2` option to `setup.cfg` to warn users of the version requirement. I've confirmed that this setup works even with py.test version 2.1 installed on my system.

@eteq, let me know if I've misused the config system.