def test_non_broadcasting_parameters():
 a = 3
 b = np.array([[1, 2, 3], [4, 5, 6]])
 c = np.array([[1, 2, 3, 4], [1, 2, 3, 4]])
 class TestModel(Model, ):
  p1 = Parameter()
  p2 = Parameter()
  p3 = Parameter()
  def evaluate(self, *args):
   return
 for args in itertools.permutations((a, b, c)):
  with pytest.raises(InputParameterError):
   TestModel(*args)

def test_non_broadcasting_parameters ( ) : a = 3 b = np . array ( [ [ 1 , 2 , 3 ] , [ 4 , 5 , 6 ] ] ) c = np . array ( [ [ 1 , 2 , 3 , 4 ] , [ 1 , 2 , 3 , 4 ] ] ) class TestModel ( Model , ) : p1 = Parameter ( ) p2 = Parameter ( ) p3 = Parameter ( ) def evaluate ( self , * args ) : return for args in itertools . permutations ( ( a , b , c ) ) : with pytest . raises ( InputParameterError ) : TestModel ( * args )
tests that in a model with 3 parameters that do not all mutually broadcast .