code: def test_lazy_device_mesh_validation(self):
      axes = ("data", "unknown", None)
      layout = distribution_lib.TensorLayout(axes, None)
  
      self.assertIsNone(layout.device_mesh)
      self.assertEqual(layout.axes, axes)
  
      with self.assertRaisesRegex(
          ValueError, "Invalid axis names for Layout"
      ):
          layout.device_mesh = self.mesh
  
imports: import os
  from unittest import mock
  import numpy
  import pytest
  import tensorflow
  from keras import backend
  from keras import testing
  from keras.backend import distribution_lib
  from keras.distribution import distribution_lib
label_desc: Use image node_id 5 for calling the TensorLayoutTest obj's underlying member method code with example usage: obj.test_lazy_device_mesh_validation() without return types