~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_export.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-06-03 15:02:09 UTC
  • mfrom: (4398.2.1 export-test-fix)
  • Revision ID: pqm@pqm.ubuntu.com-20090603150209-szap3popp2j8fpl3
(John Szakmeister) Fix error formatting for tar related KnowFailure
        on Mac

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
 
61
61
        if sys.version_info < (2, 5, 2) and sys.platform == 'darwin':
62
62
            raise tests.KnownFailure('python %r has a tar related bug, upgrade'
63
 
                                     % sys.version_info)
 
63
                                     % (sys.version_info,))
64
64
        out, err = self.run_bzr('export --format=tgz --root=test -')
65
65
        ball = tarfile.open('', fileobj=StringIO(out))
66
66
        self.assertEqual(['test/a'], sorted(ball.getnames()))