summaryrefslogtreecommitdiffstats
path: root/Lib/importlib
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-01-25 17:06:07 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-01-25 17:06:07 (GMT)
commit581616624da7918e1050f3d02d0fb1e66e68c332 (patch)
tree18f9b7afa5e31154ee7f9859acc553139c09c8fd /Lib/importlib
parent61baebd0e125ba281c2b1f40c210ce286e2e4f0d (diff)
parent33d15f7c85c1700465bc89f896f2bafc58d2b2b5 (diff)
downloadcpython-581616624da7918e1050f3d02d0fb1e66e68c332.zip
cpython-581616624da7918e1050f3d02d0fb1e66e68c332.tar.gz
cpython-581616624da7918e1050f3d02d0fb1e66e68c332.tar.bz2
Port import fixes from 2.7.
Diffstat (limited to 'Lib/importlib')
-rw-r--r--Lib/importlib/test/source/test_file_loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/test/source/test_file_loader.py b/Lib/importlib/test/source/test_file_loader.py
index 2ca57d0..21e718f 100644
--- a/Lib/importlib/test/source/test_file_loader.py
+++ b/Lib/importlib/test/source/test_file_loader.py
@@ -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: