<s> class TestThreadObject ( object ) : <EOL> def test_name ( self , space ) : <EOL> space . execute ( "<STR_LIT>" ) <EOL> def test_current ( self , space ) : <EOL> w_res = space . execute ( "<STR_LIT>" ) <EOL> assert space . str_w ( w_res ) == "<STR_LIT>" <EOL> def test_thread_local_storage ( self , space ) : <EOL> w_res = space . execute ( "<STR_LIT>" ) <EOL> assert w_res is space . w_nil <EOL> w_res = space . execute ( """<STR_LIT>""" ) <EOL> assert space . int_w ( w_res ) == <NUM_LIT:1> <EOL> def test_recursion_guard ( self , space ) : <EOL> w_res = space . execute ( """<STR_LIT>""" ) <EOL> w_depth , w_symbol = space . listview ( w_res ) <EOL> assert space . int_w ( w_depth ) == <NUM_LIT:3> <EOL> assert space . symbol_w ( w_symbol ) == "<STR_LIT:a>" <EOL> def test_recursion_guard_nested ( self , space ) : <EOL> w_res = space . execute ( """<STR_LIT>""" ) <EOL> w_depth , w_symbol = space . listview ( w_res ) <EOL> assert space . int_w ( w_depth ) == <NUM_LIT:5> <EOL> assert space . symbol_w ( w_symbol ) == "<STR_LIT:a>" </s>
