Skip to content

Commit

Permalink
fix(tests): replace deprecated assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
zyv committed Apr 17, 2024
1 parent 502f64a commit f7d4fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def test_current(self):

currency = get_ninety_days_currency(LogEntry.objects.all(), 5)

self.assertAlmostEquals(
self.assertAlmostEqual(
timedelta(days=5).total_seconds() / 60,
currency.expires_in.total_seconds() / 60,
places=1,
Expand Down

0 comments on commit f7d4fc9

Please sign in to comment.