def METHOD_NAME(self):
    """Check the error when attempting to load the dataset that doesn't
    contain any data"""
    pattern = r"Data for MemoryDataset has not been saved yet\."
    with pytest.raises(DatasetError, match=pattern):
        MemoryDataset().load()