Skip to content

Commit 7cb8a37

Browse files
Skip 2038 bug test on 32 bit systems
This should fix bug #73.
1 parent 717c667 commit 7cb8a37

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_value.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,8 @@ def test_DateValue(self):
441441
with self.subTest(date=date):
442442
self.do_test_DateValue(date)
443443
if exiv2.testVersion(0, 28, 4):
444+
if sys.maxsize <= 2**32:
445+
self.skipTest("Can't test 2038 bug on 32 bit system")
444446
date = datetime.date(2039, 1, 1)
445447
with self.subTest(date=date):
446448
self.do_test_DateValue(date)

0 commit comments

Comments
 (0)