tests/test-bundle2-format.t
branchstable
changeset 44917 bad37041fc1e
parent 42931 181ee2118a96
child 45055 4c1b4805db57
equal deleted inserted replaced
44915:2dc5ae953c4a 44917:bad37041fc1e
   146   >            yield b'first line\n'
   146   >            yield b'first line\n'
   147   >            raise RuntimeError('Someone set up us the bomb!')
   147   >            raise RuntimeError('Someone set up us the bomb!')
   148   >        bundler.newpart(b'output', data=genraise(), mandatory=False)
   148   >        bundler.newpart(b'output', data=genraise(), mandatory=False)
   149   > 
   149   > 
   150   >     if path is None:
   150   >     if path is None:
   151   >        file = pycompat.stdout
   151   >         file = pycompat.stdout
   152   >     else:
   152   >     else:
   153   >         file = open(path, 'wb')
   153   >         file = open(path, 'wb')
   154   > 
   154   > 
   155   >     if opts['timeout']:
   155   >     if opts['timeout']:
   156   >         bundler.newpart(b'test:song', data=ELEPHANTSSONG, mandatory=False)
   156   >         bundler.newpart(b'test:song', data=ELEPHANTSSONG, mandatory=False)