@@ -132,9 +132,9 @@ def test_initialise_non_calculate_properties(self, wrong_property: str, value: A
132132 UserWarning ,
133133 match = f'\n The current controls procedure is "calculate", but the property'
134134 f' "{ wrong_property } " applies instead to the'
135- f' { ", " .join (incorrect_procedures )} procedure.\n \n '
135+ f" { ', ' .join (incorrect_procedures )} procedure.\n \n "
136136 f' The fields for the "calculate" controls procedure are:\n '
137- f' { ", " .join (fields [" calculate" ])} \n ' ,
137+ f" { ', ' .join (fields [' calculate' ])} \n " ,
138138 ):
139139 Controls (procedure = Procedures .Calculate , ** {wrong_property : value })
140140
@@ -171,9 +171,9 @@ def test_set_non_calculate_properties(self, wrong_property: str, value: Any) ->
171171 UserWarning ,
172172 match = f'\n The current controls procedure is "calculate", but the property'
173173 f' "{ wrong_property } " applies instead to the'
174- f' { ", " .join (incorrect_procedures )} procedure.\n \n '
174+ f" { ', ' .join (incorrect_procedures )} procedure.\n \n "
175175 f' The fields for the "calculate" controls procedure are:\n '
176- f' { ", " .join (fields [" calculate" ])} \n ' ,
176+ f" { ', ' .join (fields [' calculate' ])} \n " ,
177177 ):
178178 setattr (self .calculate , wrong_property , value )
179179
@@ -301,9 +301,9 @@ def test_initialise_non_simplex_properties(self, wrong_property: str, value: Any
301301 UserWarning ,
302302 match = f'\n The current controls procedure is "simplex", but the property'
303303 f' "{ wrong_property } " applies instead to the'
304- f' { ", " .join (incorrect_procedures )} procedure.\n \n '
304+ f" { ', ' .join (incorrect_procedures )} procedure.\n \n "
305305 f' The fields for the "simplex" controls procedure are:\n '
306- f' { ", " .join (fields [" simplex" ])} \n ' ,
306+ f" { ', ' .join (fields [' simplex' ])} \n " ,
307307 ):
308308 Controls (procedure = Procedures .Simplex , ** {wrong_property : value })
309309
@@ -334,9 +334,9 @@ def test_set_non_simplex_properties(self, wrong_property: str, value: Any) -> No
334334 UserWarning ,
335335 match = f'\n The current controls procedure is "simplex", but the property'
336336 f' "{ wrong_property } " applies instead to the'
337- f' { ", " .join (incorrect_procedures )} procedure.\n \n '
337+ f" { ', ' .join (incorrect_procedures )} procedure.\n \n "
338338 f' The fields for the "simplex" controls procedure are:\n '
339- f' { ", " .join (fields [" simplex" ])} \n ' ,
339+ f" { ', ' .join (fields [' simplex' ])} \n " ,
340340 ):
341341 setattr (self .simplex , wrong_property , value )
342342
@@ -458,9 +458,9 @@ def test_initialise_non_de_properties(self, wrong_property: str, value: Any) ->
458458 UserWarning ,
459459 match = f'\n The current controls procedure is "de", but the property'
460460 f' "{ wrong_property } " applies instead to the'
461- f' { ", " .join (incorrect_procedures )} procedure.\n \n '
461+ f" { ', ' .join (incorrect_procedures )} procedure.\n \n "
462462 f' The fields for the "de" controls procedure are:\n '
463- f' { ", " .join (fields ["de" ])} \n ' ,
463+ f" { ', ' .join (fields ['de' ])} \n " ,
464464 ):
465465 Controls (procedure = Procedures .DE , ** {wrong_property : value })
466466
@@ -489,9 +489,9 @@ def test_set_non_de_properties(self, wrong_property: str, value: Any) -> None:
489489 UserWarning ,
490490 match = f'\n The current controls procedure is "de", but the property'
491491 f' "{ wrong_property } " applies instead to the'
492- f' { ", " .join (incorrect_procedures )} procedure.\n \n '
492+ f" { ', ' .join (incorrect_procedures )} procedure.\n \n "
493493 f' The fields for the "de" controls procedure are:\n '
494- f' { ", " .join (fields ["de" ])} \n ' ,
494+ f" { ', ' .join (fields ['de' ])} \n " ,
495495 ):
496496 setattr (self .de , wrong_property , value )
497497
@@ -627,9 +627,9 @@ def test_initialise_non_ns_properties(self, wrong_property: str, value: Any) ->
627627 UserWarning ,
628628 match = f'\n The current controls procedure is "ns", but the property'
629629 f' "{ wrong_property } " applies instead to the'
630- f' { ", " .join (incorrect_procedures )} procedure.\n \n '
630+ f" { ', ' .join (incorrect_procedures )} procedure.\n \n "
631631 f' The fields for the "ns" controls procedure are:\n '
632- f' { ", " .join (fields ["ns" ])} \n ' ,
632+ f" { ', ' .join (fields ['ns' ])} \n " ,
633633 ):
634634 Controls (procedure = Procedures .NS , ** {wrong_property : value })
635635
@@ -662,9 +662,9 @@ def test_set_non_ns_properties(self, wrong_property: str, value: Any) -> None:
662662 UserWarning ,
663663 match = f'\n The current controls procedure is "ns", but the property'
664664 f' "{ wrong_property } " applies instead to the'
665- f' { ", " .join (incorrect_procedures )} procedure.\n \n '
665+ f" { ', ' .join (incorrect_procedures )} procedure.\n \n "
666666 f' The fields for the "ns" controls procedure are:\n '
667- f' { ", " .join (fields ["ns" ])} \n ' ,
667+ f" { ', ' .join (fields ['ns' ])} \n " ,
668668 ):
669669 setattr (self .ns , wrong_property , value )
670670
@@ -797,9 +797,9 @@ def test_initialise_non_dream_properties(self, wrong_property: str, value: Any)
797797 UserWarning ,
798798 match = f'\n The current controls procedure is "dream", but the property'
799799 f' "{ wrong_property } " applies instead to the'
800- f' { ", " .join (incorrect_procedures )} procedure.\n \n '
800+ f" { ', ' .join (incorrect_procedures )} procedure.\n \n "
801801 f' The fields for the "dream" controls procedure are:\n '
802- f' { ", " .join (fields [" dream" ])} \n ' ,
802+ f" { ', ' .join (fields [' dream' ])} \n " ,
803803 ):
804804 Controls (procedure = Procedures .DREAM , ** {wrong_property : value })
805805
@@ -830,9 +830,9 @@ def test_set_non_dream_properties(self, wrong_property: str, value: Any) -> None
830830 UserWarning ,
831831 match = f'\n The current controls procedure is "dream", but the property'
832832 f' "{ wrong_property } " applies instead to the'
833- f' { ", " .join (incorrect_procedures )} procedure.\n \n '
833+ f" { ', ' .join (incorrect_procedures )} procedure.\n \n "
834834 f' The fields for the "dream" controls procedure are:\n '
835- f' { ", " .join (fields [" dream" ])} \n ' ,
835+ f" { ', ' .join (fields [' dream' ])} \n " ,
836836 ):
837837 setattr (self .dream , wrong_property , value )
838838
0 commit comments