~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to tests/__init__.py

  • Committer: Aaron Bentley
  • Date: 2007-06-18 23:52:33 UTC
  • Revision ID: abentley@panoramicfeedback.com-20070618235233-7ick9errjikvy4di
Fix no-collapse behavior

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
        import bzrtools.tests.test_baz_import
5
5
        return bzrtools.tests.test_baz_import.test_suite()
6
6
    except ImportError:
7
 
        try:
 
7
        try:
8
8
            from bzrlib.plugins.bzrtools.errors import NoPyBaz
9
9
            import bzrlib.plugins.bzrtools.tests.test_baz_import
10
10
            return bzrlib.plugins.bzrtools.tests.test_baz_import.test_suite()
11
 
        except ImportError:
 
11
        except ImportError:
12
12
            from unittest import TestSuite
13
13
            return TestSuite()
14
14
        except NoPyBaz: