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

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

src/z/o/zodbcode-3.4.0/src/zodbcode/tests/test_module.py   zodbcode(Download)
    def testPackage(self):
        self.registry.newModule("A.B.C", "def f(x): return x")
        transaction.commit()
 
        import A.B.C
    def testPackageInit(self):
        self.registry.newModule("A.B.C", "def f(x): return x")
        transaction.commit()
 
        import A.B.C