code: def test_checks_formatting(self):
      with warnings.catch_warnings():
          warnings.simplefilter("error")
          model_to_graphviz(self.model, formatting="plain")
      with pytest.raises(ValueError, match="Unsupported formatting"):
          model_to_graphviz(self.model, formatting="latex")
      with pytest.warns(UserWarning, match="currently not supported"):
          model_to_graphviz(self.model, formatting="plain_with_params")
  
imports: import warnings
  import numpy
  import pytensor
  import pytensor.tensor
  import pytest
  from pytensor.compile.sharedvalue import SharedVariable
  from pytensor.tensor.variable import TensorConstant
  import pymc
  from pymc.exceptions import ImputationWarning
  from pymc.model_graph import ModelGraph, model_to_graphviz, model_to_networkx
label_desc: Use image node_id 1 for calling the TestRadonModel obj's underlying member method code with example usage: obj.test_checks_formatting() without return types