~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_progress.py

  • Committer: Martin Packman
  • Date: 2012-03-28 17:04:06 UTC
  • mto: (6437.54.4 2.5)
  • mto: This revision was merged to the branch mainline in revision 6525.
  • Revision ID: martin.packman@canonical.com-20120328170406-5l35wyshyzrq9kl0
Make TextProgressView somewhat aware of encodings

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    
39
39
    def make_view(self):
40
40
        out = StringIO()
41
 
        view = TextProgressView(out)
 
41
        view = TextProgressView(out, "utf-8")
42
42
        view._avail_width = lambda: 79
43
43
        return out, view
44
44