mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
#11420: merge with 3.3.
This commit is contained in:
commit
469da97c1e
6 changed files with 54 additions and 31 deletions
|
@ -159,7 +159,8 @@ class SimpleTest(unittest.TestCase):
|
|||
finally:
|
||||
os.unlink(file_path)
|
||||
pycache = os.path.dirname(imp.cache_from_source(file_path))
|
||||
shutil.rmtree(pycache)
|
||||
if os.path.exists(pycache):
|
||||
shutil.rmtree(pycache)
|
||||
|
||||
def test_timestamp_overflow(self):
|
||||
# When a modification timestamp is larger than 2**32, it should be
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue