/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_ui.py

Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
189
189
            self.apply_redirected(
190
190
                None, factory.stdout, factory.stdout, factory.get_boolean, "what do you want")
191
191
            )
 
192
        # FIXME: This assumes the factory's going to produce a spinner-style
 
193
        # progress bar, but it won't if this is run from a dumb terminal (e.g.
 
194
        # from inside gvim.) -- mbp 20061014
 
195
        #
192
196
        # use a regular expression so that we don't depend on the particular
193
197
        # screen width - could also set and restore $COLUMN if that has
194
198
        # priority on all platforms, but it doesn't at present.
198
202
            "\r   *" 
199
203
            "\rwhat do you want\\? \\[y/n\\]:what do you want\\? \\[y/n\\]:", 
200
204
            output):
201
 
            self.fail("didn't match factory output %r, %s" % (factory, output))
 
205
            self.fail("didn't match factory output %r, %r" % (factory, output))