@@ -8292,15 +8292,23 @@ def test_CompositePotential_turn_physical():
82928292 # Turn physical off - should propagate to components
82938293 combo_pot .turn_physical_off ()
82948294 assert not combo_pot ._roSet , "CompositePotential should have roSet=False"
8295- assert not combo_pot [0 ]._roSet , "Component should have roSet=False after turn_physical_off"
8296- assert not combo_pot [1 ]._roSet , "Component should have roSet=False after turn_physical_off"
8295+ assert not combo_pot [0 ]._roSet , (
8296+ "Component should have roSet=False after turn_physical_off"
8297+ )
8298+ assert not combo_pot [1 ]._roSet , (
8299+ "Component should have roSet=False after turn_physical_off"
8300+ )
82978301 val_off = combo_pot [0 ](1 , 1 , 1 )
82988302
82998303 # Turn physical on - should propagate to components
83008304 combo_pot .turn_physical_on (ro = ro , vo = vo )
83018305 assert combo_pot ._roSet , "CompositePotential should have roSet=True"
8302- assert combo_pot [0 ]._roSet , "Component should have roSet=True after turn_physical_on"
8303- assert combo_pot [1 ]._roSet , "Component should have roSet=True after turn_physical_on"
8306+ assert combo_pot [0 ]._roSet , (
8307+ "Component should have roSet=True after turn_physical_on"
8308+ )
8309+ assert combo_pot [1 ]._roSet , (
8310+ "Component should have roSet=True after turn_physical_on"
8311+ )
83048312 val_on = combo_pot [0 ](1 , 1 , 1 )
83058313
83068314 # Physical output should scale by vo^2 relative to internal units
@@ -8321,15 +8329,23 @@ def test_planarCompositePotential_turn_physical():
83218329 # Turn physical off - should propagate to components
83228330 planar_combo .turn_physical_off ()
83238331 assert not planar_combo ._roSet , "planarCompositePotential should have roSet=False"
8324- assert not planar_combo [0 ]._roSet , "Component should have roSet=False after turn_physical_off"
8325- assert not planar_combo [1 ]._roSet , "Component should have roSet=False after turn_physical_off"
8332+ assert not planar_combo [0 ]._roSet , (
8333+ "Component should have roSet=False after turn_physical_off"
8334+ )
8335+ assert not planar_combo [1 ]._roSet , (
8336+ "Component should have roSet=False after turn_physical_off"
8337+ )
83268338 val_off = planar_combo [0 ](1 , 1 )
83278339
83288340 # Turn physical on - should propagate to components
83298341 planar_combo .turn_physical_on (ro = ro , vo = vo )
83308342 assert planar_combo ._roSet , "planarCompositePotential should have roSet=True"
8331- assert planar_combo [0 ]._roSet , "Component should have roSet=True after turn_physical_on"
8332- assert planar_combo [1 ]._roSet , "Component should have roSet=True after turn_physical_on"
8343+ assert planar_combo [0 ]._roSet , (
8344+ "Component should have roSet=True after turn_physical_on"
8345+ )
8346+ assert planar_combo [1 ]._roSet , (
8347+ "Component should have roSet=True after turn_physical_on"
8348+ )
83338349 val_on = planar_combo [0 ](1 , 1 )
83348350
83358351 # Physical output should scale by vo^2 relative to internal units
@@ -8350,15 +8366,23 @@ def test_linearCompositePotential_turn_physical():
83508366 # Turn physical off - should propagate to components
83518367 lin_combo .turn_physical_off ()
83528368 assert not lin_combo ._roSet , "linearCompositePotential should have roSet=False"
8353- assert not lin_combo [0 ]._roSet , "Component should have roSet=False after turn_physical_off"
8354- assert not lin_combo [1 ]._roSet , "Component should have roSet=False after turn_physical_off"
8369+ assert not lin_combo [0 ]._roSet , (
8370+ "Component should have roSet=False after turn_physical_off"
8371+ )
8372+ assert not lin_combo [1 ]._roSet , (
8373+ "Component should have roSet=False after turn_physical_off"
8374+ )
83558375 val_off = lin_combo [0 ](1 )
83568376
83578377 # Turn physical on - should propagate to components
83588378 lin_combo .turn_physical_on (ro = ro , vo = vo )
83598379 assert lin_combo ._roSet , "linearCompositePotential should have roSet=True"
8360- assert lin_combo [0 ]._roSet , "Component should have roSet=True after turn_physical_on"
8361- assert lin_combo [1 ]._roSet , "Component should have roSet=True after turn_physical_on"
8380+ assert lin_combo [0 ]._roSet , (
8381+ "Component should have roSet=True after turn_physical_on"
8382+ )
8383+ assert lin_combo [1 ]._roSet , (
8384+ "Component should have roSet=True after turn_physical_on"
8385+ )
83628386 val_on = lin_combo [0 ](1 )
83638387
83648388 # Physical output should scale by vo^2 relative to internal units
0 commit comments