◐ Shell
clean mode source ↗

Message 108713 - Python tracker

Here is the code from test_os.py for Python 2.6.5.

def test_mkdir(self):
    self.assertRaises(WindowsError, os.chdir, test_support.TESTFN)
def test_access(self):
    self.assertRaises(WindowsError, os.utime, test_support.TESTFN, 0)
def test_chmod(self):
    self.assertRaises(WindowsError, os.utime, test_support.TESTFN, 0)

The OP is saying shouldn't there be calls to os.mkdir, os.access and os.chmod respectively?