def test_note(self): style = ReSTStyle(ReSTDocument()) style.start_note() style.end_note() self.assertEqual(style.doc.getvalue(), six.b('\n\n.. note::\n\n \n\n'))