/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: Vincent Ladeuil
  • Date: 2010-02-04 13:45:44 UTC
  • mto: (5005.1.1 integration2)
  • mto: This revision was merged to the branch mainline in revision 5007.
  • Revision ID: v.ladeuil+lp@free.fr-20100204134544-cgctxctrblez8nj5
Just delete ApportFeature.

* bzrlib/tests/test_crash.py:
(TestApportDeprecation): Deleted.

* bzrlib/tests/features.py: 
Delete ApportFeature, nobody cares enough about it.

* bzrlib/tests/__init__.py:
(_CompatabilityThunkFeature._ensure): Clarify the intent.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4154
4154
            use_msg = ' Use %s.%s instead.' % (self._replacement_module,
4155
4155
                                               self._replacement_name)
4156
4156
            symbol_versioning.warn(depr_msg + use_msg, DeprecationWarning)
 
4157
            # Import the new feature and use it as a replacement for the
 
4158
            # deprecated one.
4157
4159
            mod = __import__(self._replacement_module, {}, {},
4158
4160
                             [self._replacement_name])
4159
4161
            self._feature = getattr(mod, self._replacement_name)