~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_ui.py

  • Committer: Gordon Tyler
  • Date: 2011-01-21 23:51:15 UTC
  • mto: This revision was merged to the branch mainline in revision 5632.
  • Revision ID: gordon@doxxx.net-20110121235115-9sdqamejot1h0481
Replace usage of format function from python 2.6 with our own very simple formatting function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
232
232
 
233
233
    def test_text_ui_show_user_warning(self):
234
234
        from bzrlib.repofmt.groupcompress_repo import RepositoryFormat2a
235
 
        from bzrlib.repofmt.knitpack_repo import RepositoryFormatKnitPack5
 
235
        from bzrlib.repofmt.pack_repo import RepositoryFormatKnitPack5
236
236
        err = StringIO()
237
237
        out = StringIO()
238
238
        ui = tests.TextUIFactory(stdin=None, stdout=out, stderr=err)