astropy/astropy — pull request #2818 by larrybradley (2014-08-04 18:20:43+00:00)
Title: Fix doctest-requires with multiple module inputs

When `doctest-requires` had multiple modules, it would *not* skip the doctest if the first module listed was available. This is because `DocTestFinderPlus` would return `True` in the middle of the `for` loop over all of the modules (and thus run the doctest). In this PR, it only stops the `for` loop if the return is `False`.