@@ -388,7 +388,7 @@ def chianti_kev_lines_Fe2():
388388
389389@pytest .mark .parametrize ("ssw" , [fvth_simple , fvth_Fe2 ])
390390def test_thermal_emission_against_ssw (ssw ):
391- input_args , input_args_class , energy_edges , expected = ssw ()
391+ _ , input_args_class , energy_edges , expected = ssw ()
392392 model_class = thermal .ThermalEmission (* input_args_class )
393393 output_class = model_class (energy_edges )
394394 expected_value = expected .to_value (output_class .unit )
@@ -397,7 +397,7 @@ def test_thermal_emission_against_ssw(ssw):
397397
398398@pytest .mark .parametrize ("ssw" , [chianti_kev_cont_simple , chianti_kev_cont_Fe2 ])
399399def test_continuum_emission_against_ssw (ssw ):
400- input_args , input_args_class , energy_edges , expected = ssw ()
400+ _ , input_args_class , energy_edges , expected = ssw ()
401401 model_class = thermal .ContinuumEmission (* input_args_class )
402402 output_class = model_class (energy_edges )
403403 expected_value = expected .to_value (output_class .unit )
@@ -406,7 +406,7 @@ def test_continuum_emission_against_ssw(ssw):
406406
407407@pytest .mark .parametrize ("ssw" , [chianti_kev_lines_simple , chianti_kev_lines_Fe2 ])
408408def test_line_emission_against_ssw (ssw ):
409- input_args , input_args_class , energy_edges , expected = ssw ()
409+ _ , input_args_class , energy_edges , expected = ssw ()
410410 model_class = thermal .LineEmission (* input_args_class )
411411 output_class = model_class (energy_edges )
412412 expected_value = expected .to_value (output_class .unit )
@@ -426,7 +426,7 @@ def test_len1_energy_input():
426426def test_energy_out_of_range_error ():
427427 with pytest .raises (
428428 ValueError ,
429- match = "Lower bound of the input energy must be within the range 1.0002920302956426--10.34753795157738 keV. " ,
429+ match = r "Lower bound of the input energy must be within the range 1.0002920302956426--10.34753795157738 keV. " ,
430430 ):
431431 thermal .ThermalEmission (6 * u .MK , 1e-5 / u .cm ** 3 )([0.01 , 10 ] * u .keV )
432432
@@ -448,7 +448,7 @@ def test_line_energy_out_of_range_warning():
448448def test_continuum_energy_out_of_range ():
449449 with pytest .raises (
450450 ValueError ,
451- match = "Lower bound of the input energy must be within the range 1.0009873438468269--200.15819869050395 keV." ,
451+ match = r "Lower bound of the input energy must be within the range 1.0009873438468269--200.15819869050395 keV." ,
452452 ):
453453 # Use an energy range that goes out of bounds
454454 # on the lower end--should error
0 commit comments