~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transport_implementations.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-04-26 08:34:14 UTC
  • mfrom: (2018.18.25 hpss-faster-copy)
  • Revision ID: pqm@pqm.ubuntu.com-20070426083414-8xgtmyk47txgquaw
Repository.tarball operation to speed initial checkouts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2004, 2005, 2006 Canonical Ltd
 
1
# Copyright (C) 2004, 2005, 2006, 2007 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
1150
1150
        transport = self.get_transport()
1151
1151
        try:
1152
1152
            p = transport.local_abspath('.')
1153
 
        except NotLocalUrl:
1154
 
            pass # This is not a local transport
 
1153
        except (errors.NotLocalUrl, TransportNotPossible), e:
 
1154
            # should be formattable
 
1155
            s = str(e)
1155
1156
        else:
1156
1157
            self.assertEqual(getcwd(), p)
1157
1158