Skip to content

Commit

Permalink
Change assertEquals to assertEqual
Browse files Browse the repository at this point in the history
  • Loading branch information
taranu committed Nov 3, 2023
1 parent aa4a3f5 commit c72ff9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ def testMatchedRefCoaddMetric(self):
self.assertGreater(n_input, 0)
self.assertGreater(len(list(tester.configureMetrics())), 0)

self.assertEquals(len(inputs), n_input)
self.assertEqual(len(inputs), n_input)
data = {key.format(band="analysisTools"): np.array([0.0]) for key, *_ in inputs}
# There's no metric or plot so it just returns an empty dict
self.assertEquals(len(tester(data)), 0)
self.assertEqual(len(tester(data)), 0)

def testMatchedRefCoaddDiffMagMetric(self):
self._testMatchedRefCoaddMetricDerived(
Expand Down

0 comments on commit c72ff9a

Please sign in to comment.