code: def test_raise_nan_data_error(self, nan_data):
      assert DataProcessor.has_nan(nan_data)
  
file_path: benchmark_VAE/tests/test_preprocessing.py
imports: import os
  import numpy
  import pytest
  import torch
  from pythae.data.datasets import BaseDataset
  from pythae.data.preprocessors import DataProcessor
label_desc: Use image node_id 4 for calling the Test_Format_Data obj's underlying member method code with example usage: obj.test_raise_nan_data_error(nan_data) without return types