astropy/astropy — pull request #3076 by astrofrog (2014-11-06 11:24:15+00:00)
Title: Run doctests from a temporary directory

Fixes #1821

@embray - is this the right approach? (wasn't sure, hence why I didn't attach the code to that issue)