File tree Expand file tree Collapse file tree
packages/pybamm/tests/unit/test_experiments Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,9 +155,7 @@ def test_check_input_params_ignores_internal_start_time():
155155 leaves = step .value .post_order (filter = lambda n : len (n .children ) == 0 )
156156 names = {leaf .name for leaf in leaves if isinstance (leaf , pybamm .InputParameter )}
157157 assert names == {"start time" }
158- assert (
159- pybamm .experiment .step .base_step ._check_input_params (step .value ) is False
160- )
158+ assert pybamm .experiment .step .base_step ._check_input_params (step .value ) is False
161159
162160
163161def test_check_input_params_still_detects_user_input_parameter ():
@@ -169,9 +167,7 @@ def test_check_input_params_still_detects_user_input_parameter():
169167 # Manually build a tree that contains both leaves to make the
170168 # mixing explicit.
171169 value = I_app + (pybamm .t - pybamm .InputParameter ("start time" ))
172- assert (
173- pybamm .experiment .step .base_step ._check_input_params (value ) is True
174- )
170+ assert pybamm .experiment .step .base_step ._check_input_params (value ) is True
175171
176172
177173def test_python_function_step_accepts_string_termination_without_operator ():
You can’t perform that action at this time.
0 commit comments