~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Merge with get_file_sha1

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()))