def METHOD_NAME(monkeypatch):
    """
    Monkeypatch the internal numpy function used for printing arrays so
    that we get full output that isn't cut off after three lines.
    """
    with monkeypatch.context() as patch:
        patch.setattr(np.testing._private.utils, "build_err_msg",
                      _patched_build_err_msg)
        # Yield inside context manager just to minimize the amount of time
        # we've monkeypatched such a core library (and a private function!)
        yield