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

  • Committer: Alexander Belchenko
  • Date: 2007-03-13 02:12:11 UTC
  • mto: This revision was merged to the branch mainline in revision 2356.
  • Revision ID: bialix@ukr.net-20070313021211-su48tjggdkklec47
Cleanup patch after John's review

Show diffs side-by-side

added added

removed removed

Lines of Context:
1634
1634
        self.failUnlessExists(path)
1635
1635
        # TODO: jam 20060427 Shouldn't this be 'rb'?
1636
1636
        f = file(path, 'r')
1637
 
        s = f.read()
1638
 
        f.close()
 
1637
        try:
 
1638
            s = f.read()
 
1639
        finally:
 
1640
            f.close()
1639
1641
        self.assertEqualDiff(content, s)
1640
1642
 
1641
1643
    def failUnlessExists(self, path):