aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2011-08-04 20:48:45 +0200
committerOlivier Tilloy <olivier@tilloy.net>2011-08-04 20:48:45 +0200
commit75693ed13e3ed48e2f0636b1681948b27ae8f312 (patch)
tree44e9aa676cb36982c760925c0730f64f1378fe6d
parent234dbc462b15365e8909bffadf54b05649e77f3f (diff)
downloadpyexiv2-75693ed13e3ed48e2f0636b1681948b27ae8f312.tar.gz
Fixed a unit test.
-rw-r--r--test/exif.py2
1 files changed, 1 insertions, 1 deletions
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')