mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Clean up code which checked presence of os.{stat,lstat,chmod} (#11643)
This commit is contained in:
parent
9c3f284de5
commit
8377cd4fcd
18 changed files with 21 additions and 70 deletions
|
@ -57,7 +57,6 @@ class CompileallTestsBase:
|
|||
compare = struct.pack('<4sll', importlib.util.MAGIC_NUMBER, 0, mtime)
|
||||
return data, compare
|
||||
|
||||
@unittest.skipUnless(hasattr(os, 'stat'), 'test needs os.stat()')
|
||||
def recreation_check(self, metadata):
|
||||
"""Check that compileall recreates bytecode when the new metadata is
|
||||
used."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue