/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/per_workingtree/test_commit.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-06-30 10:19:02 UTC
  • mfrom: (6973.7.13 python3-g-real)
  • Revision ID: breezy.the.bot@gmail.com-20180630101902-thpqkbi44kqom06g
Fix more tests.

Merged from https://code.launchpad.net/~jelmer/brz/python3-g/+merge/348134

Show diffs side-by-side

added added

removed removed

Lines of Context:
475
475
        self.build_tree(['a', 'b', 'c'])
476
476
        tree.add(['a', 'b', 'c'])
477
477
        tree.commit('first post')
478
 
        f = file('b', 'wt')
479
 
        f.write('new content')
480
 
        f.close()
 
478
        with open('b', 'wt') as f:
 
479
            f.write('new content')
481
480
        # set a progress bar that captures the calls so we can see what is
482
481
        # emitted
483
482
        factory = ProgressRecordingUIFactory()