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_format_registry.py   babelsubs(Download)
from babelsubs.parsers.base import ParserList
from babelsubs.generators.base import GeneratorList
from babelsubs.generators.base import discover as generator_discover
 
 
    def test_generating_discover_missing(self):
        with self.assertRaises(KeyError):
            GeneratorList['badformat']
        with self.assertRaises(KeyError):
            generator_discover('badformat')