~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_versionedfile.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-01-12 00:08:41 UTC
  • mfrom: (5590.1.6 2.3-gzip-py2.7)
  • Revision ID: pqm@pqm.ubuntu.com-20110112000841-bsgwos6fnhv9nlc7
(jameinel) Stop using bzrlib.tuned_gzip.GzipFile. (John A Meinel)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006-2010 Canonical Ltd
 
1
# Copyright (C) 2006-2011 Canonical Ltd
2
2
#
3
3
# Authors:
4
4
#   Johan Rydberg <jrydberg@gnu.org>
21
21
# TODO: might be nice to create a versionedfile with some type of corruption
22
22
# considered typical and check that it can be detected/corrected.
23
23
 
 
24
from gzip import GzipFile
24
25
from itertools import chain, izip
25
26
from StringIO import StringIO
26
27
 
51
52
    )
52
53
from bzrlib.tests.http_utils import TestCaseWithWebserver
53
54
from bzrlib.transport.memory import MemoryTransport
54
 
from bzrlib.tuned_gzip import GzipFile
55
55
import bzrlib.versionedfile as versionedfile
56
56
from bzrlib.versionedfile import (
57
57
    ConstantMapper,