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

  • Committer: Aaron Bentley
  • Date: 2006-12-22 02:00:06 UTC
  • mfrom: (2212 +trunk)
  • mto: (2255.6.1 dirstate)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: aaron.bentley@utoronto.ca-20061222020006-8h1kgh4iax3c90ju
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1327
1327
 
1328
1328
        # This is intentionally reading off the end of the file
1329
1329
        # since we are sure that it cannot get there
1330
 
        self.assertListRaises((errors.ShortReadvError, AssertionError),
 
1330
        self.assertListRaises((errors.ShortReadvError, errors.InvalidRange,
 
1331
                               # Can be raised by paramiko
 
1332
                               AssertionError),
1331
1333
                              transport.readv, 'a', [(1,1), (8,10)])
1332
1334
 
1333
1335
        # This is trying to seek past the end of the file, it should
1334
1336
        # also raise a special error
1335
 
        self.assertListRaises(errors.ShortReadvError,
 
1337
        self.assertListRaises((errors.ShortReadvError, errors.InvalidRange),
1336
1338
                              transport.readv, 'a', [(12,2)])