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

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/b/a/babelsubs-HEAD/babelsubs/tests/test_txt.py   babelsubs(Download)
# encoding: utf-8
from babelsubs import SubtitleParserError
from babelsubs.generators import TXTGenerator
from babelsubs.parsers.txt import TXTParser
from babelsubs.storage import SubtitleSet
    def test_invalid(self):
        with self.assertRaises(SubtitleParserError):
            TXTParser("\n\n","en")
 
    def test_linebreaks(self):