summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_compileall.py
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2019-02-25 22:32:27 (GMT)
committerGiampaolo Rodola <g.rodola@gmail.com>2019-02-25 22:32:27 (GMT)
commit8377cd4fcd0d51d86834c9b0518d29aac3b49e18 (patch)
treee8d82c3567b2d39ff0bd285d25ce2d02359ae070 /Lib/test/test_compileall.py
parent9c3f284de598550be6687964c23fd7599e53b20e (diff)
downloadcpython-8377cd4fcd0d51d86834c9b0518d29aac3b49e18.zip
cpython-8377cd4fcd0d51d86834c9b0518d29aac3b49e18.tar.gz
cpython-8377cd4fcd0d51d86834c9b0518d29aac3b49e18.tar.bz2
Clean up code which checked presence of os.{stat,lstat,chmod} (#11643)
Diffstat (limited to 'Lib/test/test_compileall.py')
-rw-r--r--Lib/test/test_compileall.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_compileall.py b/Lib/test/test_compileall.py
index 2e25523..8e58460 100644
--- a/Lib/test/test_compileall.py
+++ b/Lib/test/test_compileall.py
@@ -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."""