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

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

src/p/y/Py2C-HEAD/tests/test_translator.py   Py2C(Download)
    def test_raise(self):
        self.template([
            ("raise", python.Raise(
                None, None
            )),
            ("raise err", python.Raise(
                python.Name("err", python.Load()),
            )),
            ("raise err_1 from err_2", python.Raise(
                python.Name("err_1", python.Load()),
                python.Name("err_2", python.Load()),
            )),