summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_os.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_os.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_os.py')
-rw-r--r--Lib/test/test_os.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index 2cfcebc..2340b84 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -238,7 +238,6 @@ class StatAttributeTests(unittest.TestCase):
self.addCleanup(support.unlink, self.fname)
create_file(self.fname, b"ABC")
- @unittest.skipUnless(hasattr(os, 'stat'), 'test needs os.stat()')
def check_stat_attributes(self, fname):
result = os.stat(fname)