Back to index

python3.2  3.2.2
Public Member Functions
test.test_os.Win32ErrorTests Class Reference

List of all members.

Public Member Functions

def test_rename
def test_remove
def test_chdir
def test_mkdir
def test_utime
def test_chmod

Detailed Description

Definition at line 702 of file test_os.py.


Member Function Documentation

Definition at line 709 of file test_os.py.

00709 
00710     def test_chdir(self):
00711         self.assertRaises(WindowsError, os.chdir, support.TESTFN)

Here is the call graph for this function:

Definition at line 723 of file test_os.py.

00723 
00724     def test_chmod(self):
00725         self.assertRaises(WindowsError, os.chmod, support.TESTFN, 0)

Here is the call graph for this function:

Definition at line 712 of file test_os.py.

00712 
00713     def test_mkdir(self):
00714         f = open(support.TESTFN, "w")
00715         try:
00716             self.assertRaises(WindowsError, os.mkdir, support.TESTFN)
00717         finally:
00718             f.close()
00719             os.unlink(support.TESTFN)

Here is the call graph for this function:

Definition at line 706 of file test_os.py.

00706 
00707     def test_remove(self):
00708         self.assertRaises(WindowsError, os.remove, support.TESTFN)

Here is the call graph for this function:

Definition at line 703 of file test_os.py.

00703 
00704     def test_rename(self):
00705         self.assertRaises(WindowsError, os.rename, support.TESTFN, support.TESTFN+".bak")

Here is the call graph for this function:

Definition at line 720 of file test_os.py.

00720 
00721     def test_utime(self):
00722         self.assertRaises(WindowsError, os.utime, support.TESTFN, None)

Here is the call graph for this function:


The documentation for this class was generated from the following file: