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

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)
Stub error

src/s/t/Strap-HEAD/strap/tests/test_resolver.py   Strap(Download)
    def config_exc(self, func, *arg, **kw):
        from strap.resolver import ConfigurationError
        try:
            func(*arg, **kw)
        except ConfigurationError, e:
    def test__pkg_resources_style_resolve_relative_nocurrentpackage(self):
        typ = self._makeOne()
        from strap.resolver import ConfigurationError
        self.assertRaises(ConfigurationError, typ._pkg_resources_style,
                          '.whatever')
    def test_ctor_string_irresolveable(self):
        from strap.resolver import ConfigurationError
        self.assertRaises(ConfigurationError, self._makeOne, 'cant.be.found')
 
    def test_ctor_module(self):