def test_replace_string_type():
 replaced = replace_hy_obj(str_type('foo'), HyString('bar'))
 assert (replaced == HyString('foo'))

def test_replace_string_type ( ) : replaced = replace_hy_obj ( str_type ( 'foo' ) , HyString ( 'bar' ) ) assert ( replaced == HyString ( 'foo' ) )
test replacing python string .