def test_paragraph(self):
        doc = PythonReader.read(P[u"the text"])
        latex = LatexWriter.write(doc).getvalue()
        assert "the text" in latex
Try a single paragraph document
dataset/ETHPy150Open brendonh/pyth/tests/test_writelatex.py/TestWriteLatex.test_paragraph