/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: Jelmer Vernooij
  • Date: 2018-07-02 20:37:44 UTC
  • mfrom: (7025 work)
  • mto: This revision was merged to the branch mainline in revision 7027.
  • Revision ID: jelmer@jelmer.uk-20180702203744-3i0bimk0r5pfzjzl
merge trunk

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')