/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 18:10:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521181028-zn04pdfw0od9hfj3
Rename brzlib => 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 brzlib import tests, osutils
24
 
from brzlib._termcolor import color_string, FG
 
23
from breezy import tests, osutils
 
24
from breezy._termcolor import color_string, FG
25
25
 
26
 
from brzlib.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 brzlib.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}',