~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Aaron Bentley
  • Date: 2008-09-20 20:35:02 UTC
  • mfrom: (3717 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3720.
  • Revision ID: aaron@aaronbentley.com-20080920203502-mdw6o6gtbalyo2bb
Merge with bzr.dev

Show diffs side-by-side

added added

removed removed

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