121
122
stderr = tests.StringIOWrapper()
122
123
ui.ui_factory = tests.TestUIFactory(stdout=stdout, stderr=stderr)
125
126
self.build_tree(['0foo', '1bar', '2baz', 'subdir0/'])
126
127
clean_tree('.', unknown=True, no_prompt=True)
127
128
self.assertContainsRe(stderr.getvalue(),