#NEWLINE# def test_namespace_html_elements_0( self ) : #NEWLINE# #INDENT# parser = html5parser . HTMLParser ( namespaceHTMLElements = True ) #NEWLINE# doc = parser . parse ( '<html></html>' ) #NEWLINE# self . assert_ ( ( doc . childNodes [ 0 ] . namespace == namespaces [ 'html' ] ) )