Fix to make astropy.test() function use setup.cfg pytest configuration
Merge pull request #1811 from eteq/fix-missing-astropytest-ini

fix astropy.test() to run docstring tests