diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2011-08-04 20:48:45 +0200 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2011-08-04 20:48:45 +0200 |
commit | 75693ed13e3ed48e2f0636b1681948b27ae8f312 (patch) | |
tree | 44e9aa676cb36982c760925c0730f64f1378fe6d | |
parent | 234dbc462b15365e8909bffadf54b05649e77f3f (diff) | |
download | pyexiv2-75693ed13e3ed48e2f0636b1681948b27ae8f312.tar.gz |
Fixed a unit test.
-rw-r--r-- | test/exif.py | 2 |
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') |