code: def test_creates_saving_path(self, tmpdir, model_configs):
      tmpdir.mkdir("saving")
      dir_path = os.path.join(tmpdir, "saving")
      model = RadialFlow(model_configs)
      model.save(dir_path=dir_path)
  
      dir_path = None
      model = RadialFlow(model_configs)
      with pytest.raises(TypeError) or pytest.raises(FileNotFoundError):
          model.save(dir_path=dir_path)
  
imports: import os
  import shutil
  from copy import deepcopy
  import numpy
  import pytest
  import torch
  from torch.optim import Adam
  from pythae.data.datasets import BaseDataset
  from pythae.models import AutoModel
  from pythae.models.base.base_utils import ModelOutput
  from pythae.models.normalizing_flows import NFModel, RadialFlow, RadialFlowConfig
  from pythae.pipelines import TrainingPipeline
  from pythae.trainers import BaseTrainer, BaseTrainerConfig
label_desc: Use image node_id 1 for calling the Test_Model_Saving obj's underlying member method code with example usage: obj.test_creates_saving_path(tmpdir, model_configs) without return types