From: Guido van Rossum Date: Thu, 22 Sep 2005 15:35:36 +0000 (+0000) Subject: Backport Jack Jansen's fix for test_macfs.py (broke on OS X 10.4.2). X-Git-Tag: v2.4.2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e364cafbc179033917b6a0a9d47e006c90ad707;p=thirdparty%2FPython%2Fcpython.git Backport Jack Jansen's fix for test_macfs.py (broke on OS X 10.4.2). --- diff --git a/Lib/test/test_macfs.py b/Lib/test/test_macfs.py index 3d32e7115ddd..9c0e3a1a7c10 100644 --- a/Lib/test/test_macfs.py +++ b/Lib/test/test_macfs.py @@ -48,9 +48,9 @@ class TestMacfs(unittest.TestCase): import time fss = macfs.FSSpec(test_support.TESTFN) now = int(time.time()) - fss.SetDates(now, now-1, now-2) + fss.SetDates(now, now+1, now+2) dates = fss.GetDates() - self.assertEqual(dates, (now, now-1, now-2)) + self.assertEqual(dates, (now, now+1, now+2)) def test_ctor_type(self): fss = macfs.FSSpec(test_support.TESTFN)