If you want to show the standalone='no' argument in your XML header, you have to set it to False instead of 'no'. Just like this:
etree.tostring(tree, pretty_print = True, xml_declaration = True, encoding='UTF-8', standalone=False)
If not, standalone will be set to 'yes' by default.