mirror of
https://github.com/python/cpython.git
synced 2025-07-19 09:15:34 +00:00
Port import fixes from 2.7.
This commit is contained in:
commit
581616624d
3 changed files with 12 additions and 12 deletions
|
@ -133,7 +133,7 @@ class SimpleTest(unittest.TestCase):
|
|||
with open(source, 'w') as f:
|
||||
f.write("x = 5")
|
||||
try:
|
||||
os.utime(source, (2 ** 33, 2 ** 33))
|
||||
os.utime(source, (2 ** 33 - 5, 2 ** 33 - 5))
|
||||
except OverflowError:
|
||||
self.skipTest("cannot set modification time to large integer")
|
||||
except OSError as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue