def setUp(self): test_content = StringIO( u"""<window bgcolor="black" duration="00:00:10.000" wordwrap="true" width="352"> <font face="Verdana" size="4" color="#FFFFFF"> <center> <time begin="00:00:00.166" whatever="couldntcareless"><clear/> Some text <time begin="00:00:00.766"><clear/> Moar text <time begin="00:00:02.033"><clear/> Text<br> Text<br> <time begin="00:00:04.766"><clear/> In physics, we explore the<br> very small to the very large.<br> """) self.reader = Reader(test_content)