Skip to content
This repository has been archived by the owner on Jul 22, 2021. It is now read-only.

Commit

Permalink
Merge pull request #151 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
nmearl authored Nov 24, 2018
2 parents 15d6b01 + 8cd69c9 commit dd4b214
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mosviz/_astropy_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,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 dd4b214

Please sign in to comment.