#NEWLINE# def test_no_sub_because_position_is_not_set( self ) : #NEWLINE# #INDENT# document_xml = '\n            <p>\n              <pPr>\n                <pStyle val="faked_subscript"/>\n              </pPr>\n              <r>\n                <t>H</t>\n              </r>\n              <r>\n                <rPr>\n                  <sz val="19"/>\n                </rPr>\n                <t>2</t>\n              </r>\n              <r>\n                <t>O</t>\n              </r>\n            </p>\n        ' #NEWLINE# document = WordprocessingDocumentFactory ( ) #NEWLINE# document . add ( StyleDefinitionsPart , self . style_xml ) #NEWLINE# document . add ( MainDocumentPart , document_xml ) #NEWLINE# expected_html = '<p>H2O</p>' #NEWLINE# self . assert_document_generates_html ( self , expected_html )