code: def test_sp_bounds():
      """Ensure incorrect user-defined bounds raises AssertionErrors."""
      with pytest.raises(AssertionError):
          ProblemSpec()
  
      with pytest.raises(AssertionError):
          ProblemSpec(
              {
                  "names": ["x1", "x2", "x3"],
                  "groups": None,
                  "outputs": ["Y"],
              }
          )
  
      with pytest.raises(AssertionError):
          ProblemSpec(
              {
                  "names": ["x1", "x2", "x3"],
                  "groups": None,
                  "bounds": [[-np.pi, np.pi] * 3],
                  "outputs": ["Y"],
              }
          )
  
file_path: SALib/tests/test_problem_spec.py
imports: import pytest
  import copy
  import numpy
  import pandas
  from SALib import ProblemSpec
  from SALib.test_functions import Ishigami
label_desc: Use image node_id 1 for calling a global function with example usage: test_sp_bounds() without return types