[Python-checkins] python/dist/src/Lib/test test_macfs.py, 1.7, 1.7.16.1

gvanrossum@users.sourceforge.net gvanrossum at users.sourceforge.net
Thu Sep 22 17:35:41 CEST 2005


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10358

Modified Files:
      Tag: release24-maint
	test_macfs.py 
Log Message:
Backport Jack Jansen's fix for test_macfs.py (broke on OS X 10.4.2).

Index: test_macfs.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_macfs.py,v
retrieving revision 1.7
retrieving revision 1.7.16.1
diff -u -d -r1.7 -r1.7.16.1
--- test_macfs.py	24 Apr 2003 16:02:52 -0000	1.7
+++ test_macfs.py	22 Sep 2005 15:35:36 -0000	1.7.16.1
@@ -48,9 +48,9 @@
         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)



More information about the Python-checkins mailing list