~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

merge bzr.dev@2480

Show diffs side-by-side

added added

removed removed

Lines of Context:
1961
1961
    def assertFileEqual(self, content, path):
1962
1962
        """Fail if path does not contain 'content'."""
1963
1963
        self.failUnlessExists(path)
1964
 
        # TODO: jam 20060427 Shouldn't this be 'rb'?
1965
 
        f = file(path, 'r')
 
1964
        f = file(path, 'rb')
1966
1965
        try:
1967
1966
            s = f.read()
1968
1967
        finally: