From 5e364cafbc179033917b6a0a9d47e006c90ad707 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 22 Sep 2005 15:35:36 +0000 Subject: Backport Jack Jansen's fix for test_macfs.py (broke on OS X 10.4.2). --- Lib/test/test_macfs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_macfs.py b/Lib/test/test_macfs.py index 3d32e71..9c0e3a1 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) -- cgit v0.12