~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/grep/test_grep.py

  • Committer: Jelmer Vernooij
  • Date: 2012-06-29 08:24:02 UTC
  • mto: This revision was merged to the branch mainline in revision 6555.
  • Revision ID: jelmer@samba.org-20120629082402-w7519tbko418j5e1
Drop unnecessary compatibility code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
from bzrlib import tests, osutils
27
27
 
28
 
try:
29
 
    from bzrlib.tests.features import UnicodeFilenameFeature
30
 
except ImportError: # bzr < 2.4
31
 
    from bzrlib.tests import UnicodeFilenameFeature
 
28
from bzrlib.tests.features import UnicodeFilenameFeature
32
29
 
33
30
# NOTE: As bzr-grep optimizes PATTERN search to -F/--fixed-string
34
31
# for patterns that are not alphanumeric+whitespace, we test grep