aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests')
-rw-r--r--python/tests/test_dates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/test_dates.py b/python/tests/test_dates.py
index f9054700..cb14e343 100644
--- a/python/tests/test_dates.py
+++ b/python/tests/test_dates.py
@@ -165,7 +165,7 @@ class TestDaysAccrued(unittest.TestCase):
("2015-12-28", 8),
]
for date, days in dates:
- self.assertEqual(days_accrued(date), days)
+ self.assertEqual(days_accrued(datetime.date.fromisoformat(date)), days)
class TestCdsSchedule(unittest.TestCase):