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/p/y/py3kwarn-HEAD/py3kwarn2to3/tests/test_fixers.py   py3kwarn(Download)
    def setUp(self, fix_list=None, fixer_pkg="py3kwarn2to3", options=None):
        if fix_list is None:
            fix_list = [self.fixer]
        self.refactor = support.get_refactorer(fixer_pkg, fix_list, options)
        self.fixer_log = []
    def assert_runs_after(self, *names):
        fixes = [self.fixer]
        fixes.extend(names)
        r = support.get_refactorer("py3kwarn2to3", fixes)
        (pre, post) = r.get_fixers()