Back to index

python3.2  3.2.2
Public Member Functions
test.test_sys_setprofile.TestGetProfile Class Reference

List of all members.

Public Member Functions

def setUp
def tearDown
def test_empty
def test_setget

Detailed Description

Definition at line 8 of file test_sys_setprofile.py.


Member Function Documentation

Definition at line 9 of file test_sys_setprofile.py.

00009 
00010     def setUp(self):
00011         sys.setprofile(None)

Here is the caller graph for this function:

Definition at line 12 of file test_sys_setprofile.py.

00012 
00013     def tearDown(self):
00014         sys.setprofile(None)

Here is the caller graph for this function:

Definition at line 15 of file test_sys_setprofile.py.

00015 
00016     def test_empty(self):
00017         self.assertIsNone(sys.getprofile())

Here is the call graph for this function:

Definition at line 18 of file test_sys_setprofile.py.

00018 
00019     def test_setget(self):
00020         def fn(*args):
00021             pass
00022 
00023         sys.setprofile(fn)
00024         self.assertIs(sys.getprofile(), fn)


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