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

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

src/b/i/biskit-2.4/Biskit/PDBCleaner.py   biskit(Download)
    def test_capping_extra( self ):
        """PDBCleaner.capTerminals extra challenge"""
        self.m2 = PDBModel( t.testRoot() + '/pdbclean/foldx_citche.pdb' )
        self.c = PDBCleaner( self.m2, verbose=self.local, log=self.log)
        self.assertRaises(CappingError, self.c.capTerminals, auto=True)

src/b/i/biskit-2.4/Biskit/Dock/FixedList.py   biskit(Download)
        if self.local: print 'f.fixed() is %i for a FixedList'% self.f.fixed()
 
        self.assertRaises( FixedListError, self.f.append, 6 )