~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_shared_repository.py

  • Committer: Jelmer Vernooij
  • Date: 2012-01-31 15:43:17 UTC
  • mfrom: (6437.3.28 2.5)
  • mto: (6437.23.1 2.5)
  • mto: This revision was merged to the branch mainline in revision 6458.
  • Revision ID: jelmer@samba.org-20120131154317-y028tz0r9xesvn9p
MergeĀ 2.5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
    def test_branch_tree(self):
82
82
        self.run_bzr("init-repo --trees a")
83
83
        self.run_bzr("init --format=default b")
84
 
        file('b/hello', 'wt').write('bar')
 
84
        with file('b/hello', 'wt') as f: f.write('bar')
85
85
        self.run_bzr("add b/hello")
86
86
        self.run_bzr("commit -m bar b/hello")
87
87