Commits

Anonymous committed 17a82ba

Backport Jack Jansen's fix for test_macfs.py (broke on OS X 10.4.2).

  • Participants
  • Parent commits 8ffeedb
  • Branches 2.4

Comments (0)

Files changed (1)

File Lib/test/test_macfs.py

         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)