/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 breezy/plugins/grep/test_grep.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 19:09:26 UTC
  • mfrom: (6622.1.36 breezy)
  • Revision ID: jelmer@jelmer.uk-20170521190926-5vtz8xaf0e9ylrpc
Merge rename to breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
import re
21
21
import unicodedata as ud
22
22
 
23
 
from bzrlib import tests, osutils
24
 
from bzrlib._termcolor import color_string, FG
 
23
from breezy import tests, osutils
 
24
from breezy._termcolor import color_string, FG
25
25
 
26
 
from bzrlib.tests.features import (
 
26
from breezy.tests.features import (
27
27
    ColorFeature,
28
28
    UnicodeFilenameFeature,
29
29
    )
2143
2143
        self.assertEqual(len(out.splitlines()), 1)
2144
2144
 
2145
2145
 
2146
 
# copied from bzrlib.tests.blackbox.test_diff
 
2146
# copied from breezy.tests.blackbox.test_diff
2147
2147
def subst_dates(string):
2148
2148
    """Replace date strings with constant values."""
2149
2149
    return re.sub(r'\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2} [-\+]\d{4}',