<s> import sys <EOL> import unittest <EOL> from pulsar import reraise <EOL> class TestMiscellaneous ( unittest . TestCase ) : <EOL> def test_reraise ( self ) : <EOL> self . assertRaises ( RuntimeError , reraise , RuntimeError , RuntimeError ( ) ) <EOL> try : <EOL> raise RuntimeError ( '<STR_LIT>' ) <EOL> except Exception : <EOL> exc_info = sys . exc_info ( ) <EOL> self . assertRaises ( RuntimeError , reraise , * exc_info ) </s>
