diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2012-01-25 17:06:07 (GMT) |
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-01-25 17:06:07 (GMT) |
| commit | 581616624da7918e1050f3d02d0fb1e66e68c332 (patch) | |
| tree | 18f9b7afa5e31154ee7f9859acc553139c09c8fd /Lib/importlib/test | |
| parent | 61baebd0e125ba281c2b1f40c210ce286e2e4f0d (diff) | |
| parent | 33d15f7c85c1700465bc89f896f2bafc58d2b2b5 (diff) | |
| download | cpython-581616624da7918e1050f3d02d0fb1e66e68c332.zip cpython-581616624da7918e1050f3d02d0fb1e66e68c332.tar.gz cpython-581616624da7918e1050f3d02d0fb1e66e68c332.tar.bz2 | |
Port import fixes from 2.7.
Diffstat (limited to 'Lib/importlib/test')
| -rw-r--r-- | Lib/importlib/test/source/test_file_loader.py | 2 |
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: |
