/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-07-01 00:16:17 UTC
  • mfrom: (7012.1.1 grep-color)
  • Revision ID: breezy.the.bot@gmail.com-20180701001617-wgvobivl16o76j56
Remove grep tests from python3.passing.

These don't work on Python3 yet, but were skipped when we were running tests with output piped to e.g. subunit2pyunit.

Unconditionally run the color tests, even if there is no terminal. The tests don't need the terminal anyway.

Merged from https://code.launchpad.net/~jelmer/brz/no-python3-grep-yet/+merge/348793

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
from ..._termcolor import color_string, FG
25
25
 
26
26
from ...tests.features import (
27
 
    ColorFeature,
28
27
    UnicodeFilenameFeature,
29
28
    )
30
29
 
1962
1961
class TestColorGrep(GrepTestBase):
1963
1962
    """Tests for the --color option."""
1964
1963
 
1965
 
    # GZ 2010-06-05: Does this really require the feature? Nothing prints.
1966
 
    _test_needs_features = [ColorFeature]
1967
 
 
1968
1964
    _rev_sep = color_string('~', fg=FG.BOLD_YELLOW)
1969
1965
    _sep = color_string(':', fg=FG.BOLD_CYAN)
1970
1966