~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/weavefile.py

  • Committer: Robert Collins
  • Date: 2005-08-23 06:52:09 UTC
  • mto: (974.1.50) (1185.1.10) (1092.3.1)
  • mto: This revision was merged to the branch mainline in revision 1139.
  • Revision ID: robertc@robertcollins.net-20050823065209-81cd5962c401751b
move io redirection into each test case from the global runner

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
    from weave import Weave, WeaveFormatError
103
103
    w = Weave()
104
104
 
 
105
    wfe = WeaveFormatError
105
106
    l = f.readline()
106
107
    if l != FORMAT_1:
107
108
        raise WeaveFormatError('invalid weave file header: %r' % l)