/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 bzrlib/tests/test_repository.py

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
    def initialize(self, a_bzrdir, shared=False):
73
73
        """Initialize a repository in a BzrDir"""
74
74
        t = a_bzrdir.get_repository_transport(self)
75
 
        t.put('format', StringIO(self.get_format_string()))
 
75
        t.put_bytes('format', self.get_format_string())
76
76
        return 'A bzr repository dir'
77
77
 
78
78
    def is_supported(self):