Kaydet (Commit) 5e364caf authored tarafından Guido van Rossum's avatar Guido van Rossum

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

üst 2d0aca6c
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment