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

  • Committer: Jelmer Vernooij
  • Date: 2017-06-08 23:30:31 UTC
  • mto: This revision was merged to the branch mainline in revision 6690.
  • Revision ID: jelmer@jelmer.uk-20170608233031-3qavls2o7a1pqllj
Update imports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
and produce non-empty output.
21
21
"""
22
22
 
23
 
from io import StringIO
24
23
 
25
24
import breezy.commands
 
25
from ..sixish import (
 
26
    BytesIO,
 
27
    )
26
28
from . import TestCase
27
29
 
28
30
 
35
37
 
36
38
    def setUp(self):
37
39
        super(TestGenerateDocs, self).setUp()
38
 
        self.sio = StringIO()
 
40
        self.sio = BytesIO()
39
41
        self.options = Options()
40
42
        self.options.brz_name = 'brz'
41
43
        breezy.commands.install_bzr_command_hooks()