File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
src/tests/_internal/server/services/requirements Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -278,16 +278,9 @@ def test_same_non_auto_values_return_same(self):
278278 )
279279
280280 def test_different_non_auto_values_raise_error (self ):
281- with pytest .raises (
282- CombineError ,
283- match = "spot_policy values SpotPolicy.SPOT and SpotPolicy.ONDEMAND cannot be combined" ,
284- ):
281+ with pytest .raises (CombineError ):
285282 _combine_spot_policy_optional (SpotPolicy .SPOT , SpotPolicy .ONDEMAND )
286-
287- with pytest .raises (
288- CombineError ,
289- match = "spot_policy values SpotPolicy.ONDEMAND and SpotPolicy.SPOT cannot be combined" ,
290- ):
283+ with pytest .raises (CombineError ):
291284 _combine_spot_policy_optional (SpotPolicy .ONDEMAND , SpotPolicy .SPOT )
292285
293286
You can’t perform that action at this time.
0 commit comments