Skip to content

Commit

Permalink
remove test_suite() function (cf #2142)
Browse files Browse the repository at this point in the history
  • Loading branch information
moustakas committed Jan 2, 2024
1 parent f9fb664 commit 08abfa0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions py/desispec/test/test_photo.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,5 @@ def test_gather_tractorphot_dr10(self):
for col in self.tractorphot_dr10.colnames:
self.assertTrue(np.all(tractorphot[col] == self.tractorphot_dr10[col]))

def test_suite():
"""Allows testing of only this module with the command::
python setup.py test -m <modulename>
"""
return unittest.defaultTestLoader.loadTestsFromName(__name__)

if __name__ == '__main__':
unittest.main()

0 comments on commit 08abfa0

Please sign in to comment.