def METHOD_NAME(self):
    """test TaskMsgTree disabled for stderr"""
    task = task_self()
    worker = task.shell("echo foo bar2 1>&2", stderr=True)
    worker = task.shell("echo just foo bar2", stderr=True)
    task.set_default('stderr_msgtree', False)
    # run task
    task.resume()
    # iter_errors() should raise
    self.assertRaises(TaskMsgTreeError, task.iter_errors)
    # but stdout should not
    for buf, keys in task.iter_buffers():
        pass
    #
    # can be re-enabled (cold)
    task.set_default('stderr_msgtree', True)
    # but no messages should be found
    self.assertEqual(list(task.iter_errors()), [])