~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_http.py

  • Committer: Marius Kruger
  • Date: 2007-06-27 18:48:10 UTC
  • mfrom: (2557 +trunk)
  • mto: (2605.1.1 rm-renamed)
  • mto: This revision was merged to the branch mainline in revision 2609.
  • Revision ID: marius.kruger@enerweb.co.za-20070627184810-4jq1y5f20xafow9w
Merge with bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1176
1176
        self.build_tree_contents([('a', 'contents of a\n'),
1177
1177
                                  ('b', 'contents of b\n'),])
1178
1178
        self.old_factory = ui.ui_factory
 
1179
        # The following has the unfortunate side-effect of hiding any ouput
 
1180
        # during the tests (including pdb prompts). Feel free to comment them
 
1181
        # for debugging purposes but leave them in place, there are needed to
 
1182
        # run the tests without any console
1179
1183
        self.old_stdout = sys.stdout
1180
1184
        sys.stdout = StringIOWrapper()
1181
1185
        self.addCleanup(self.restoreUIFactory)