@py.test.mark.parametrize('item_name', [item.name for item in six._urllib_response_moved_attributes])
def test_move_items_urllib_response(item_name):
 if (sys.version_info[:2] >= (2, 6)):
  assert (item_name in dir(six.moves.urllib.response))
 getattr(six.moves.urllib.response, item_name)

@ py . test . mark . parametrize ( 'item_name' , [ item . name for item in six . _urllib_response_moved_attributes ] ) def test_move_items_urllib_response ( item_name ) : if ( sys . version_info [ : 2 ] >= ( 2 , 6 ) ) : assert ( item_name in dir ( six . moves . urllib . response ) ) getattr ( six . moves . urllib . response , item_name )
ensure that everything loads correctly .