~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/compiled/test_dirstate_helpers.py

  • Committer: John Arbash Meinel
  • Date: 2007-05-07 20:38:16 UTC
  • mto: This revision was merged to the branch mainline in revision 2643.
  • Revision ID: john@arbash-meinel.com-20070507203816-0zk28og5dadjdj4l
Change the names of the functions from c_foo and py_foo to foo_c and foo_py
This makes it easier to search for 'def foo*' and means that benchmark results
are next to eachother, rather than far apart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    _test_needs_features = [CompiledDirstateHelpersFeature]
45
45
 
46
46
    def get_cmp_by_dirs(self):
47
 
        return dirstate_helpers.c_cmp_by_dirs
 
47
        return dirstate_helpers.cmp_by_dirs_c
48
48
 
49
49
 
50
50
class TestCompiledBisectDirblock(test_dirstate.TestBisectDirblock):
61
61
    _test_needs_features = [CompiledDirstateHelpersFeature]
62
62
 
63
63
    def get_bisect_dirblock(self):
64
 
        return dirstate_helpers.c_bisect_dirblock
 
64
        return dirstate_helpers.bisect_dirblock_c