Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/b/a/babelsubs-HEAD/babelsubs/tests/test_srt.py   babelsubs(Download)
        srt_ouput = unicode(SRTGenerator(parsed1))
        subs2  = SRTParser(srt_ouput, 'en')
        parsed2 = subs2.to_internal()
        self.assertEquals(len(subs1), len(subs2))
 
"""
        parsed = SRTParser(subs, 'en')
        internal = parsed.to_internal()
 
        self.assertEquals(len(parsed), 1)
        output = unicode(SRTGenerator(internal))
        parsed2 = SRTParser(output, 'en')
        internal2 = parsed2.to_internal()
 
        for x1, x2 in zip([x for x in internal.subtitle_items(SRTGenerator.MAPPINGS)], \
"""
        parsed = SRTParser(subs, 'en')
        internal = parsed.to_internal()
 
        self.assertEquals(len(parsed), 1)
        output = unicode(SRTGenerator(internal))
        parsed2 = SRTParser(output, 'en')
        internal2 = parsed2.to_internal()
 
        for x1, x2 in zip([x for x in internal.subtitle_items(SRTGenerator.MAPPINGS)], \