Skip to content

Commit 2302486

Browse files
committed
convert to subTest
1 parent c586455 commit 2302486

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/test_coadds.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,8 +615,9 @@ def test_coaddInputs(self):
615615
for position, _ in self.test_positions:
616616
ccds = inputs.subset_containing_ccds(position, None)
617617
visits = inputs.subset_containing_visits(position, None)
618-
self.assertEqual(len(ccds), 1)
619-
self.assertEqual(len(visits), 1)
618+
with self.subTest(position=position):
619+
self.assertEqual(len(ccds), 1)
620+
self.assertEqual(len(visits), 1)
620621

621622
def test_borders(self):
622623
"""Test that the borders are populated correctly on stitching."""

0 commit comments

Comments
 (0)