~brz/brz/3.0

« back to all changes in this revision

Viewing changes to breezy/plugins/bash_completion/tests/test_bashcomp.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-05-30 01:35:40 UTC
  • mfrom: (7340.1.9 flakes-fix)
  • Revision ID: breezy.the.bot@gmail.com-20200530013540-g5thcq7ltuijo83k
Fix compatibility with newer versions of flake8.

Merged from https://code.launchpad.net/~jelmer/brz/flakes-fix/+merge/384002

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        surplus = set(words) & self.completion_result
86
86
        if surplus:
87
87
            raise AssertionError('Completion should omit %r but it has %r'
88
 
                                 % (surplus, res, self.completion_result))
 
88
                                 % (surplus, self.completion_result))
89
89
 
90
90
    def get_script(self):
91
91
        commands.install_bzr_command_hooks()