Fix #2280.  Make -t work for .rst files.
Merge pull request #2280 from mdboom/test/fix-t-to-docs

setup.py test -t option not working as expected for docs