Skip to content

Commit

Permalink
Merge pull request #1437 from Callum027/numpy-2.2-support
Browse files Browse the repository at this point in the history
Fix running functional tests with NumPy 2.2
  • Loading branch information
tobias-urdin authored Jan 17, 2025
2 parents 05995a1 + cf9b883 commit b28f215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnocchi/tests/test_carbonara.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def test_aggregation_std_with_unique(self):
ts = carbonara.TimeSerie.from_data(
[datetime64(2014, 1, 1, 12, 0, 0)], [3])
ts = self._resample(ts, numpy.timedelta64(60, 's'), 'std')
self.assertEqual(0, len(ts), ts.values)
self.assertEqual(0, len(ts), str(ts.values))

ts = carbonara.TimeSerie.from_data(
[datetime64(2014, 1, 1, 12, 0, 0),
Expand Down

0 comments on commit b28f215

Please sign in to comment.