/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Martin Pool
  • Date: 2009-07-07 23:46:54 UTC
  • mfrom: (4513.1.1 lock-unicode)
  • mto: This revision was merged to the branch mainline in revision 4515.
  • Revision ID: mbp@sourcefrog.net-20090707234654-np06h03b0fbsyiz6
merge fix for OS locks on unicode paths on win32

Show diffs side-by-side

added added

removed removed

Lines of Context:
3007
3007
    """
3008
3008
    concurrency = osutils.local_concurrency()
3009
3009
    result = []
3010
 
    from subunit import TestProtocolClient, ProtocolTestCase
 
3010
    from subunit import ProtocolTestCase
3011
3011
    class TestInSubprocess(ProtocolTestCase):
3012
3012
        def __init__(self, process, name):
3013
3013
            ProtocolTestCase.__init__(self, process.stdout)
3508
3508
 
3509
3509
    loader = TestUtil.TestLoader()
3510
3510
 
 
3511
    if keep_only is not None:
 
3512
        id_filter = TestIdList(keep_only)
3511
3513
    if starting_with:
3512
3514
        starting_with = [test_prefix_alias_registry.resolve_alias(start)
3513
3515
                         for start in starting_with]
3526
3528
        loader = TestUtil.FilteredByModuleTestLoader(interesting_module)
3527
3529
 
3528
3530
    elif keep_only is not None:
3529
 
        id_filter = TestIdList(keep_only)
3530
3531
        loader = TestUtil.FilteredByModuleTestLoader(id_filter.refers_to)
3531
3532
        def interesting_module(name):
3532
3533
            return id_filter.refers_to(name)