Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6)

Unified Diff: Lib/test/test_os.py

Issue 3871: cross and native build of python for mingw32 with distutils
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/test/test_curses.py ('k') | Lib/test/test_sundry.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/test/test_os.py Thu Dec 27 23:52:36 2012 +0200
+++ b/Lib/test/test_os.py Thu Dec 27 17:35:12 2012 -0500
@@ -461,7 +461,11 @@
def test_large_time(self):
t1 = 5000000000 # some day in 2128
- os.utime(self.fname, (t1, t1))
+ try:
+ #Note fail if time_t is 32 bit
+ os.utime(self.fname, (t1, t1))
+ except OverflowError:
+ self.skipTest("requires at least 64-bit time_t")
self.assertEqual(os.stat(self.fname).st_mtime, t1)
def test_1686475(self):
« no previous file with comments | « Lib/test/test_curses.py ('k') | Lib/test/test_sundry.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+