/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/bash_completion/tests/test_bashcomp.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-07-02 01:50:36 UTC
  • mfrom: (6973.13.15 python3-l)
  • Revision ID: breezy.the.bot@gmail.com-20180702015036-p7h30yemu44e4p01
Fix more tests on Python3.

Merged from https://code.launchpad.net/~jelmer/brz/python3-l/+merge/348782

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        input += "IFS=$'\\n'\n"
55
55
        input += 'echo "${COMPREPLY[*]}"\n'
56
56
        (out, err) = proc.communicate(input)
57
 
        if '' != err:
 
57
        if b'' != err:
58
58
            raise AssertionError('Unexpected error message:\n%s' % err)
59
 
        self.assertEqual('', err, 'No messages to standard error')
 
59
        self.assertEqual(b'', err, 'No messages to standard error')
60
60
        #import sys
61
61
        #print >>sys.stdout, '---\n%s\n---\n%s\n---\n' % (input, out)
62
62
        lines = out.split('\n')