[Python-checkins] cpython (3.3): fix importlib test failure when bytecode writing is disabled (closes #20796)
benjamin.peterson
python-checkins at python.org
Thu Feb 27 19:50:37 CET 2014
http://hg.python.org/cpython/rev/8afcfe6dfd6e
changeset: 89407:8afcfe6dfd6e
branch: 3.3
parent: 89404:b4a139713b3b
user: Benjamin Peterson <benjamin at python.org>
date: Thu Feb 27 13:49:34 2014 -0500
summary:
fix importlib test failure when bytecode writing is disabled (closes #20796)
Patch by Berker Peksag.
files:
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
--- a/Lib/test/test_importlib/source/test_file_loader.py
+++ b/Lib/test/test_importlib/source/test_file_loader.py
@@ -162,6 +162,7 @@
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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list