~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to tests/__init__.py

  • Committer: Michael Ellerman
  • Date: 2005-11-29 01:41:52 UTC
  • mto: (0.3.1 shelf-dev) (325.1.2 bzrtools)
  • mto: This revision was merged to the branch mainline in revision 334.
  • Revision ID: michael@ellerman.id.au-20051129014152-f5ede8888bcebc48
HunkSelector was broken if you did a "done" followed by "status/invert" etc.
Fixup to make pychecker happy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
def test_suite():
2
 
    try:
3
 
        import bzrlib.plugins.bzrtools.tests.test_baz_import
4
 
    except ImportError:
5
 
        from unittest import TestSuite
6
 
        return TestSuite()
7
 
    return bzrlib.plugins.bzrtools.tests.test_baz_import.test_suite()