~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport_implementations.py

  • Committer: Vincent Ladeuil
  • Date: 2008-01-03 08:49:38 UTC
  • mfrom: (3111.1.31 175524)
  • mto: This revision was merged to the branch mainline in revision 3158.
  • Revision ID: v.ladeuil+lp@free.fr-20080103084938-7kvurk5uvde2ui54
Fix bug #175524, http test servers are 1.1 compliant

Show diffs side-by-side

added added

removed removed

Lines of Context:
215
215
        except (errors.PathError, errors.RedirectRequested):
216
216
            # early failure return immediately.
217
217
            return
218
 
        # having got a file, read() must either work (i.e. http reading a dir listing) or
219
 
        # fail with ReadError
 
218
        # having got a file, read() must either work (i.e. http reading a dir
 
219
        # listing) or fail with ReadError
220
220
        try:
221
221
            a_file.read()
222
222
        except errors.ReadError: