@@ -341,7 +341,7 @@ def test_raise(self):
341341 cdlyap (Afq , Q )
342342 with pytest .raises (ControlDimension ):
343343 cdlyap (A , Qfq )
344- with pytest .raises (ControlArgument ):
344+ with pytest .raises (ValueError ):
345345 cdlyap (A , Qfs )
346346 with pytest .raises (ControlDimension ):
347347 cdlyap (Afq , Q , C )
@@ -353,9 +353,9 @@ def test_raise(self):
353353 cdlyap (A , Qfq , None , E )
354354 with pytest .raises (ControlDimension ):
355355 cdlyap (A , Q , None , Efq )
356- with pytest .raises (ControlArgument ):
356+ with pytest .raises (ValueError ):
357357 cdlyap (A , Qfs , None , E )
358- with pytest .raises (ControlArgument ):
358+ with pytest .raises (ValueError ):
359359 cdlyap (A , Q , C , E )
360360
361361 B = array ([[1 , 0 ], [0 , 1 ]])
@@ -376,7 +376,7 @@ def test_raise(self):
376376 care (A , Bf , Q )
377377 with pytest .raises (ControlDimension ):
378378 care (1 , B , 1 )
379- with pytest .raises (ControlArgument ):
379+ with pytest .raises (ValueError ):
380380 care (A , B , Qfs )
381381 with pytest .raises (ControlArgument ):
382382 dare (A , B , Q , Rfs )
@@ -393,7 +393,7 @@ def test_raise(self):
393393 cdare (A , B , Q , Rfq , S , E )
394394 with pytest .raises (ControlDimension ):
395395 cdare (A , B , Q , R , Sf , E )
396- with pytest .raises (ControlArgument ):
396+ with pytest .raises (ValueError ):
397397 cdare (A , B , Qfs , R , S , E )
398- with pytest .raises (ControlArgument ):
398+ with pytest .raises (ValueError ):
399399 cdare (A , B , Q , Rfs , S , E )
0 commit comments