From 3673670b675d8a686686a449a0a9a551f53dfee7 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 27 Feb 2014 13:49:34 -0500 Subject: [PATCH] fix importlib test failure when bytecode writing is disabled (closes #20796) Patch by Berker Peksag. --- Lib/test/test_importlib/source/test_file_loader.py | 1 + 1 file changed, 1 insertion(+) 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. -- 2.40.0