def METHOD_NAME():
    """Test _get_data_from_child_err for handling stderr"""
    # write data to queue
    err_q = Queue()
    test_string = "this gets printed to stdout"
    err_q.put(test_string)
    with io.StringIO() as buf_out, redirect_stdout(buf_out):
        _get_data_from_child_err(err_q)
        output = buf_out.getvalue()
    assert output == test_string