/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_status.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-02-14 03:16:54 UTC
  • mfrom: (7479.2.3 no-more-python2)
  • Revision ID: breezy.the.bot@gmail.com-20200214031654-bp1xtv2jr9nmhto3
Drop python2 support.

Merged from https://code.launchpad.net/~jelmer/brz/no-more-python2/+merge/378694

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
"""
24
24
 
25
25
import codecs
 
26
from io import (
 
27
    BytesIO,
 
28
    StringIO,
 
29
    )
26
30
from os import mkdir, chdir, rmdir, unlink
27
31
import sys
28
32
 
38
42
import breezy.branch
39
43
from ...osutils import pathjoin
40
44
from ...revisionspec import RevisionSpec
41
 
from ...sixish import (
42
 
    BytesIO,
43
 
    StringIO,
44
 
    PY3,
45
 
    )
46
45
from ...status import show_tree_status
47
46
from .. import TestCaseWithTransport, TestSkipped
48
47
from ...workingtree import WorkingTree
805
804
added:
806
805
  hell\u00d8
807
806
"""
808
 
        if not PY3:
809
 
            expected = expected.encode('latin-1')
810
807
        self.assertEqual(stdout, expected)