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

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

src/e/d/Editra-0.7.20/tests/unittests/testExtensionRegister.py   Editra(Download)
    def testLoadDefault(self):
        """Test loading the default settings"""
        d = list(self.reg[synreg.LANG_C]) # force list copy
        self.reg.Associate(synreg.LANG_C, 'NEW_C')
        self.assertTrue('NEW_C' in self.reg[synreg.LANG_C])