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 2e9a5f6 + 45656bd commit f020e5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nagini/_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 f020e5e

Please sign in to comment.