From 75693ed13e3ed48e2f0636b1681948b27ae8f312 Mon Sep 17 00:00:00 2001 From: Olivier Tilloy Date: Thu, 4 Aug 2011 20:48:45 +0200 Subject: Fixed a unit test. --- test/exif.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/exif.py b/test/exif.py index 10646db..918f100 100644 --- a/test/exif.py +++ b/test/exif.py @@ -79,7 +79,7 @@ class TestExifTag(unittest.TestCase): '2009:03:01 12:54:28') self.assertEqual(tag._convert_to_string(datetime.date(2009, 03, 01)), '2009:03:01 00:00:00') - self.assertEqual(tag._convert_to_string(datetime.datetime(1899, 12, 31, 23, 59, 29)), + self.assertEqual(tag._convert_to_string(datetime.datetime(1899, 12, 31, 23, 59, 59)), '1899:12:31 23:59:59') self.assertEqual(tag._convert_to_string(datetime.date(1899, 12, 31)), '1899:12:31 00:00:00') -- cgit