From: Benjamin Peterson Date: Thu, 27 Feb 2014 18:49:34 +0000 (-0500) Subject: fix importlib test failure when bytecode writing is disabled (closes #20796) X-Git-Tag: v3.3.5rc2~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3673670b675d8a686686a449a0a9a551f53dfee7;p=python fix importlib test failure when bytecode writing is disabled (closes #20796) Patch by Berker Peksag. --- diff --git a/Lib/test/test_importlib/source/test_file_loader.py b/Lib/test/test_importlib/source/test_file_loader.py index d59969a8ce..d711cb3e79 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.