call the function six.reraise with 3 arguments: ValueError, instance of a class ValueError, created with an argument string,
six . reraise ( ValueError , ValueError ( "%r is not a valid date" % date ) , sys . exc_info ( ) [ 2 ] )