Back to index

python3.2  3.2.2
Public Member Functions
test.test_startfile.TestCase Class Reference

List of all members.

Public Member Functions

def test_nonexisting
def test_empty

Detailed Description

Definition at line 19 of file

Member Function Documentation

Definition at line 23 of file

00024     def test_empty(self):
00025         empty = path.join(path.dirname(__file__), "empty.vbs")
00026         startfile(empty)
00027         startfile(empty, "open")
00028         # Give the child process some time to exit before we finish.
00029         # Otherwise the cleanup code will not be able to delete the cwd,
00030         # because it is still in use.
00031         sleep(0.1)

Definition at line 20 of file

00021     def test_nonexisting(self):
00022         self.assertRaises(OSError, startfile, "nonexisting.vbs")

Here is the call graph for this function:

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