code: def test_jax_tracing_with_global_seed_generator(self):
      import jax
  
      @jax.jit
      def traced_function():
          return seed_generator.global_seed_generator().next()
  
      with self.assertRaisesRegex(
          ValueError,
          "When tracing a JAX function, you should only use seeded random",
      ):
          traced_function()
  
file_path: keras/keras/random/seed_generator_test.py
imports: import numpy
  import pytest
  from keras import backend
  from keras import ops
  from keras import testing
  from keras.random import seed_generator
label_desc: Use image node_id 10 for calling the SeedGeneratorTest obj's underlying member method code with example usage: obj.test_jax_tracing_with_global_seed_generator() and returns: seed_generator