Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_importhooks.ImportHooksBaseTestCase Class Reference
Inheritance diagram for test.test_importhooks.ImportHooksBaseTestCase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def setUp
def tearDown

Public Attributes

 path
 meta_path
 path_hooks
 modules_before

Detailed Description

Definition at line 139 of file test_importhooks.py.


Member Function Documentation

Reimplemented in test.test_zipimport.UncompressedZipImportTestCase.

Definition at line 141 of file test_importhooks.py.

00141 
00142     def setUp(self):
00143         self.path = sys.path[:]
00144         self.meta_path = sys.meta_path[:]
00145         self.path_hooks = sys.path_hooks[:]
00146         sys.path_importer_cache.clear()
00147         self.modules_before = support.modules_setup()

Here is the caller graph for this function:

Definition at line 148 of file test_importhooks.py.

00148 
00149     def tearDown(self):
00150         sys.path[:] = self.path
00151         sys.meta_path[:] = self.meta_path
00152         sys.path_hooks[:] = self.path_hooks
00153         sys.path_importer_cache.clear()
00154         support.modules_cleanup(*self.modules_before)
00155 

Here is the caller graph for this function:


Member Data Documentation

Definition at line 143 of file test_importhooks.py.

Definition at line 146 of file test_importhooks.py.

Definition at line 142 of file test_importhooks.py.

Definition at line 144 of file test_importhooks.py.


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