Back to index

python3.2  3.2.2
Classes | Functions
test.test_raise Namespace Reference

Classes

class  Context
class  TestRaise
class  TestCause
class  TestTraceback
class  TestContext
class  TestRemovedFunctionality

Functions

def get_tb
def test_main

Function Documentation

Definition at line 12 of file test_raise.py.

00012 
00013 def get_tb():
00014     try:
00015         raise OSError()
00016     except:
00017         return sys.exc_info()[2]
00018 

Here is the caller graph for this function:

Definition at line 379 of file test_raise.py.

00379 
00380 def test_main():
00381     support.run_unittest(__name__)