Back to index

python3.2  3.2.2
Classes | Functions | Variables
test.test_inspect Namespace Reference

Classes

class  IsTestBase
class  TestPredicates
class  TestInterpreterStack
class  GetSourceBase
class  TestRetrievingSourceCode
class  TestDecorators
class  TestOneliners
class  TestBuggyCases
class  TestNoEOL
class  TestClassesAndFunctions
class  TestGetcallargsFunctions
class  TestGetcallargsMethods
class  TestGetcallargsUnboundMethods
class  TestGetattrStatic
class  TestGetGeneratorState

Functions

def revise
def generator_function_example
def attrs_wo_objs
def test_main

Variables

 modfile = mod.__file__
tuple tb = sys.exc_info()
tuple git = mod.StupidGit()

Function Documentation

Definition at line 429 of file test_inspect.py.

00429 
00430 def attrs_wo_objs(cls):
00431     return [t[:3] for t in inspect.classify_class_attrs(cls)]

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 67 of file test_inspect.py.

00067 
00068 def generator_function_example(self):
00069     for i in range(2):
00070         yield i

def test.test_inspect.revise (   filename,
  args 
)

Definition at line 39 of file test_inspect.py.

00039 
00040 def revise(filename, *args):
00041     return (normcase(filename),) + args

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1060 of file test_inspect.py.

01060 
01061 def test_main():
01062     run_unittest(
01063         TestDecorators, TestRetrievingSourceCode, TestOneliners, TestBuggyCases,
01064         TestInterpreterStack, TestClassesAndFunctions, TestPredicates,
01065         TestGetcallargsFunctions, TestGetcallargsMethods,
01066         TestGetcallargsUnboundMethods, TestGetattrStatic, TestGetGeneratorState,
01067         TestNoEOL
01068     )

Here is the call graph for this function:


Variable Documentation

tuple test.test_inspect.git = mod.StupidGit()

Definition at line 49 of file test_inspect.py.

tuple test.test_inspect.modfile = mod.__file__

Definition at line 31 of file test_inspect.py.

tuple test.test_inspect.tb = sys.exc_info()

Definition at line 47 of file test_inspect.py.