def METHOD_NAME(self):
    # Check that an unknown LBREL value just results in a warning
    # and the end of the file iteration instead of raising an error.
    with self.temp_filename() as temp_path:
        np.zeros(65, dtype="i4").tofile(temp_path)
        generator = pp._field_gen(temp_path, False)
        with mock.patch("warnings.warn") as warn:
            with self.assertRaises(StopIteration):
                next(generator)
        self.assertEqual(warn.call_count, 1)
        self.assertIn("header release number", warn.call_args[0][0])