Blob Blame History Raw
diff -up vobject-0.9.5/tests.py.timedelta-repr vobject-0.9.5/tests.py
--- vobject-0.9.5/tests.py.timedelta-repr	2018-07-03 16:09:08.000000000 +0200
+++ vobject-0.9.5/tests.py	2018-07-03 16:10:44.000000000 +0200
@@ -253,7 +253,7 @@ class TestBehaviors(unittest.TestCase):
         )
         self.assertEqual(
             str(parseRDate(textLineToContentLine("RDATE;VALUE=PERIOD:19960403T020000Z/19960403T040000Z,19960404T010000Z/PT3H"))),
-            "<RDATE{'VALUE': ['PERIOD']}[(datetime.datetime(1996, 4, 3, 2, 0, tzinfo=tzutc()), datetime.datetime(1996, 4, 3, 4, 0, tzinfo=tzutc())), (datetime.datetime(1996, 4, 4, 1, 0, tzinfo=tzutc()), datetime.timedelta(0, 10800))]>"
+            "<RDATE{'VALUE': ['PERIOD']}[(datetime.datetime(1996, 4, 3, 2, 0, tzinfo=tzutc()), datetime.datetime(1996, 4, 3, 4, 0, tzinfo=tzutc())), (datetime.datetime(1996, 4, 4, 1, 0, tzinfo=tzutc()), " + ("datetime.timedelta(0, 10800)" if sys.version_info < (3,7) else "datetime.timedelta(seconds=10800)") + ")]>"
         )
 
     def test_periodBehavior(self):