fix importlib test failure when bytecode writing is disabled (closes #20796)

Patch by Berker Peksag.
This commit is contained in:
Benjamin Peterson 2014-02-27 13:49:34 -05:00
parent 517b74734a
commit 3673670b67
1 changed files with 1 additions and 0 deletions

View File

@ -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.