def METHOD_NAME(self, tmpdir):
    class DummyProcedure(Procedure):
        par = Parameter('Generic Parameter with newline chars')
        DATA_COLUMNS = ['Foo', 'Bar', 'Baz']
    procedure = DummyProcedure()
    procedure.par = np.linspace(1, 100, 17)
    filename = os.path.join(str(tmpdir), 'header_linebreak_test.csv')
    result = Results(procedure, filename)
    result.reload()  # assert no error
    pd.read_csv(filename, comment="#")  # assert no error
    assert (result.parameters['par'].value == np.linspace(1, 100, 17)).all()