code: def test_one_class_error():
      try:
          noise_generation.generate_noise_matrix_from_trace(
              K=1,
              trace=2,
          )
      except ValueError as e:
          assert "must be >= 2" in str(e)
          with pytest.raises(ValueError) as e:
              noise_generation.generate_noise_matrix_from_trace(
                  K=1,
                  trace=1,
              )
  
imports: import numpy
  from cleanlab.benchmarking import noise_generation
  import pytest
label_desc: Use image node_id 13 for calling a global function with example usage: test_one_class_error() without return types