~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 01:53:46 UTC
  • mfrom: (1393.1.23)
  • Revision ID: robertc@robertcollins.net-20051002015346-587422189352289e
merge from upstream newformat

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"]