~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to tests/upstream_import.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:
26
26
from bzrlib.tests import (
27
27
    TestCaseInTempDir,
28
28
    TestCaseWithTransport,
29
 
    UnicodeFilenameFeature,
30
29
    )
 
30
try:
 
31
    from bzrlib.tests.features import UnicodeFilenameFeature
 
32
except ImportError: # bzr < 2.5
 
33
    from bzrlib.tests import UnicodeFilenameFeature
31
34
 
32
35
 
33
36
def import_tar_broken(tree, tar_input):