def METHOD_NAME(self):
    # Check that without a mask, it returns the raw (compressed) data.
    with mock.patch("numpy.frombuffer", return_value=np.arange(3)):
        result = pp._data_bytes_to_shaped_array(
            mock.Mock(),
            self.create_lbpack(120),
            None,
            (3, 4),
            np.dtype(">f4"),
            -999,
            mask=None,
        )
        self.assertArrayAllClose(result, np.arange(3))