diff options
Diffstat (limited to 'tests/test_types.py')
-rw-r--r-- | tests/test_types.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_types.py b/tests/test_types.py index 21a6d52..344037b 100644 --- a/tests/test_types.py +++ b/tests/test_types.py @@ -296,10 +296,10 @@ class testTypes(unittest.TestCase): self.assertEqual(v, today) v = checker.load("2020-01-01") - self.assertEqual(v, datetime.datetime(2020, 1, 1)) + self.assertEqual(v, datetime.date(2020, 1, 1)) v = checker.load("2020-01-01 10:00") - self.assertEqual(v, datetime.datetime(2020, 1, 1, 10, 0)) + self.assertEqual(v, datetime.date(2020, 1, 1)) for d in ("today", "2020-13-01"): with self.assertRaises(types.LesanaValueError): |