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

List of all members.

Public Member Functions

def setUp
def tearDown

Public Attributes


Detailed Description

Definition at line 139 of file

Member Function Documentation

Reimplemented in test.test_zipimport.UncompressedZipImportTestCase.

Definition at line 141 of file

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

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)

Here is the caller graph for this function:

Member Data Documentation

Definition at line 143 of file

Definition at line 146 of file

Definition at line 142 of file

Definition at line 144 of file

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