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

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

src/z/o/zodbcode-3.4.0/src/zodbcode/tests/test_module.py   zodbcode(Download)
        transaction.commit()
 
        from A.B import D
        self.assert_(hasattr(A.B.D, "f"))
        self.useNewConnection()
        transaction.commit()
 
        import A.B.D
        self.assert_(hasattr(A.B.D, "a"))
        self.assert_(hasattr(A.B.D, "b"))
        self.assert_(not hasattr(A.B.D, "c"))