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

  • Committer: Jelmer Vernooij
  • Date: 2018-03-25 12:47:13 UTC
  • mfrom: (6928 work)
  • mto: (6940.2.6 base)
  • mto: This revision was merged to the branch mainline in revision 6941.
  • Revision ID: jelmer@jelmer.uk-20180325124713-dq64vm9bhch1gjow
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        from breezy import tests
47
47
        from breezy.tests.script import TestCaseWithTransportAndScript
48
48
 
49
 
        f = open(infile)
50
 
        try:
 
49
        with open(infile) as f:
51
50
            script = f.read()
52
 
        finally:
53
 
            f.close()
54
51
 
55
52
        class Test(TestCaseWithTransportAndScript):
56
53