@@ -188,27 +188,27 @@ def test_interconnect_exceptions():
188188
189189 # Unrecognized arguments
190190 # LinearIOSystem
191- with pytest .raises (TypeError , match = "unknown parameter " ):
191+ with pytest .raises (TypeError , match = "unrecognized keyword " ):
192192 P = ct .LinearIOSystem (ct .rss (2 , 1 , 1 ), output_name = 'y' )
193193
194194 # Interconnect
195- with pytest .raises (TypeError , match = "unknown parameter " ):
195+ with pytest .raises (TypeError , match = "unrecognized keyword " ):
196196 T = ct .interconnect ((P , C , sumblk ), input_name = 'r' , output = 'y' )
197197
198198 # Interconnected system
199- with pytest .raises (TypeError , match = "unknown parameter " ):
199+ with pytest .raises (TypeError , match = "unrecognized keyword " ):
200200 T = ct .InterconnectedSystem ((P , C , sumblk ), input_name = 'r' , output = 'y' )
201201
202202 # NonlinearIOSytem
203- with pytest .raises (TypeError , match = "unknown parameter " ):
203+ with pytest .raises (TypeError , match = "unrecognized keyword " ):
204204 nlios = ct .NonlinearIOSystem (
205205 None , lambda t , x , u , params : u * u , input_count = 1 , output_count = 1 )
206206
207207 # Summing junction
208208 with pytest .raises (TypeError , match = "input specification is required" ):
209209 sumblk = ct .summing_junction ()
210210
211- with pytest .raises (TypeError , match = "unknown parameter " ):
211+ with pytest .raises (TypeError , match = "unrecognized keyword " ):
212212 sumblk = ct .summing_junction (input_count = 2 , output_count = 2 )
213213
214214
0 commit comments