~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to tests/blackbox.py

  • Committer: Jelmer Vernooij
  • Date: 2011-08-29 17:03:16 UTC
  • mto: This revision was merged to the branch mainline in revision 777.
  • Revision ID: jelmer@samba.org-20110829170316-2ddkbhvb58f4lifd
Fix deprecation warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
from bzrlib.config import LocationConfig
7
7
from bzrlib.transport import get_transport
8
8
from bzrlib.tests import (
9
 
    HardlinkFeature,
10
 
    ModuleAvailableFeature,
11
9
    TestCaseWithTransport,
12
10
    )
13
11
from bzrlib.plugins.bzrtools import command
14
12
 
 
13
try:
 
14
    from bzrlib.tests.features import (
 
15
        HardlinkFeature,
 
16
        ModuleAvailableFeature,
 
17
        )
 
18
except ImportError: # bzr < 2.5
 
19
    from bzrlib.tests import (
 
20
        HardlinkFeature,
 
21
        ModuleAvailableFeature,
 
22
        )
 
23
 
15
24
 
16
25
LzmaFeature = ModuleAvailableFeature("lzma")
17
26