fix importlib test failure when bytecode writing is disabled (closes #20796)
Patch by Berker Peksag.
This commit is contained in:
parent
517b74734a
commit
3673670b67
|
@ -162,6 +162,7 @@ class SimpleTest(unittest.TestCase):
|
||||||
if os.path.exists(pycache):
|
if os.path.exists(pycache):
|
||||||
shutil.rmtree(pycache)
|
shutil.rmtree(pycache)
|
||||||
|
|
||||||
|
@source_util.writes_bytecode_files
|
||||||
def test_timestamp_overflow(self):
|
def test_timestamp_overflow(self):
|
||||||
# When a modification timestamp is larger than 2**32, it should be
|
# When a modification timestamp is larger than 2**32, it should be
|
||||||
# truncated rather than raise an OverflowError.
|
# truncated rather than raise an OverflowError.
|
||||||
|
|
Loading…
Reference in New Issue