diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-02-27 18:49:34 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-02-27 18:49:34 (GMT) |
commit | 3673670b675d8a686686a449a0a9a551f53dfee7 (patch) | |
tree | 561aeb6157483785d9415b98c77f89f6e41aa531 /Lib/test/test_importlib/source | |
parent | 517b74734af130d19a7877b051ba026c76f381b2 (diff) | |
download | cpython-3673670b675d8a686686a449a0a9a551f53dfee7.zip cpython-3673670b675d8a686686a449a0a9a551f53dfee7.tar.gz cpython-3673670b675d8a686686a449a0a9a551f53dfee7.tar.bz2 |
fix importlib test failure when bytecode writing is disabled (closes #20796)
Patch by Berker Peksag.
Diffstat (limited to 'Lib/test/test_importlib/source')
-rw-r--r-- | Lib/test/test_importlib/source/test_file_loader.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_importlib/source/test_file_loader.py b/Lib/test/test_importlib/source/test_file_loader.py index d59969a..d711cb3 100644 --- a/Lib/test/test_importlib/source/test_file_loader.py +++ b/Lib/test/test_importlib/source/test_file_loader.py @@ -162,6 +162,7 @@ class SimpleTest(unittest.TestCase): if os.path.exists(pycache): shutil.rmtree(pycache) + @source_util.writes_bytecode_files def test_timestamp_overflow(self): # When a modification timestamp is larger than 2**32, it should be # truncated rather than raise an OverflowError. |