Skip to content

Commit

Permalink
Merge pull request #1 from pllim/test_false
Browse files Browse the repository at this point in the history
Prevent pytest from picking up test function as a test
  • Loading branch information
Brett M. Morris committed Nov 26, 2018
2 parents fdb800a + 1e73ab1 commit 8e9c15a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions boulliau/_astropy_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
# Create the test function for self test
from astropy.tests.runner import TestRunner
test = TestRunner.make_test_runner_in(os.path.dirname(__file__))
test.__test__ = False
__all__ += ['test']

# add these here so we only need to cleanup the namespace at the end
Expand Down

0 comments on commit 8e9c15a

Please sign in to comment.