~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-04-16 01:09:56 UTC
  • mfrom: (5784.1.4 760435-less-fail)
  • Revision ID: pqm@pqm.ubuntu.com-20110416010956-5wrpm136qq2hz5f3
(mbp) rename and deprecate failUnlessExists and failIfExists (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3898
3898
        'bzrlib.tests.test_upgrade',
3899
3899
        'bzrlib.tests.test_upgrade_stacked',
3900
3900
        'bzrlib.tests.test_urlutils',
3901
 
        'bzrlib.tests.test_utextwrap',
3902
3901
        'bzrlib.tests.test_version',
3903
3902
        'bzrlib.tests.test_version_info',
3904
3903
        'bzrlib.tests.test_versionedfile',
4366
4365
        try:
4367
4366
            self._module = __import__(self.module_name, {}, {}, [''])
4368
4367
            return True
4369
 
        except ImportError:
 
4368
        except (ImportError, ImportWarning):
4370
4369
            return False
4371
4370
 
4372
4371
    @property