~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/test_weave.py

  • Committer: Robert Collins
  • Date: 2005-10-02 21:51:29 UTC
  • mfrom: (1396)
  • mto: This revision was merged to the branch mainline in revision 1397.
  • Revision ID: robertc@robertcollins.net-20051002215128-5686c7d24bf9bdb9
merge from martins newformat branch - brings in transport abstraction

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
from pprint import pformat
27
27
 
28
 
import testsweet
29
28
from bzrlib.weave import Weave, WeaveFormatError, WeaveError
30
29
from bzrlib.weavefile import write_weave, read_weave
31
30
from bzrlib.selftest import TestCase
32
31
from bzrlib.osutils import sha_string
33
32
 
34
 
try:
35
 
    set
36
 
    frozenset
37
 
except NameError:
38
 
    from sets import Set, ImmutableSet
39
 
    set = Set
40
 
    frozenset = ImmutableSet
41
 
    del Set, ImmutableSet
42
 
 
43
 
 
44
33
 
45
34
# texts for use in testing
46
35
TEXT_0 = ["Hello world"]