/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/tests/blackbox/test_log.py

  • Committer: Jelmer Vernooij
  • Date: 2020-02-07 02:14:30 UTC
  • mto: This revision was merged to the branch mainline in revision 7492.
  • Revision ID: jelmer@jelmer.uk-20200207021430-m49iq3x4x8xlib6x
Drop python2 support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    osutils,
30
30
    tests,
31
31
    )
32
 
from breezy.sixish import PY3
33
32
from breezy.tests import (
34
33
    test_log,
35
34
    features,
785
784
            out, err = brz('log', encoding=encoding)
786
785
            if not fail:
787
786
                # Make sure we wrote mu as we expected it to exist
788
 
                if not PY3:
789
 
                    self.assertNotEqual(-1, out.find(encoded_msg))
790
 
                    out_unicode = out.decode(encoding)
791
 
                else:
792
 
                    out_unicode = out
793
 
                self.assertNotEqual(-1, out_unicode.find(self._message))
 
787
                self.assertNotEqual(-1, out.find(self._message))
794
788
            else:
795
789
                self.assertNotEqual(-1, out.find('Message with ?'))
796
790
        finally: