cpython: 301c008dd58d (original) (raw)

Mercurial > cpython

changeset 71176:301c008dd58d 3.2

Fix closes issue issue12470 - check for utime for the skipUnless condition. [#12470]

Senthil Kumaran senthil@uthcode.com
date Sun, 03 Jul 2011 18:21:38 -0700
parents ac18e70cbe7e
children 53fc0c475260 f0382acebfe6
files Lib/test/test_shutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Lib/test/test_shutil.py 2

line wrap: on

line diff

--- a/Lib/test/test_shutil.py +++ b/Lib/test/test_shutil.py @@ -427,7 +427,7 @@ class TestShutil(unittest.TestCase): self.assertEqual(os.stat(file1).st_mode, os.stat(file2).st_mode) @unittest.skipUnless(hasattr(os, 'chmod'), 'requires os.chmod')