1
Description: Merge fix for features living in a new location in newer versions of bzr.
2
Origin: commit, revision id: jelmer@samba.org-20110816095410-9g7vtu8a46rfqulx
3
Author: Jelmer Vernooij <jelmer@samba.org>
4
Last-Update: 2011-08-16
5
X-Bzr-Revision-Id: jelmer@samba.org-20110816095410-9g7vtu8a46rfqulx
6
Debian-Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652757
8
=== modified file 'features.py'
9
--- old/features.py 2010-05-22 12:35:19 +0000
10
+++ new/features.py 2011-07-25 13:02:19 +0000
12
"""'Features' which are used to skip tests."""
14
from bzrlib import tests
16
+ from bzrlib.tests.features import Feature
17
+except ImportError: # bzr < 2.5
18
+ from bzrlib.tests import Feature
19
from termcolor import allow_color
21
-class _ColorFeature(tests.Feature):
22
+class _ColorFeature(Feature):