Lichen

tests/exceptions.py

582:26f221305c30
2017-02-13 Paul Boddie Set instantiator arguments to null, preventing context test rejection. method-wrapper-for-context
     1 # Raise an instance of TypeError.     2      3 try:     4     raise TypeError()     5 except TypeError, exc:     6     print "Handled", exc     7      8 # Raise TypeError, causing instantiation.     9     10 try:    11     raise TypeError    12 except TypeError, exc:    13     print "Handled", exc