@@ -152,8 +152,8 @@ def get_rhs(t, u):
152152 linf_err_lower = actx .to_numpy (op .norm (dcoll , rhs [0 ], np .inf , dd = dd_vol_lower ))
153153 linf_err_upper = actx .to_numpy (op .norm (dcoll , rhs [1 ], np .inf , dd = dd_vol_upper ))
154154
155- assert ( linf_err_lower < 1e-9 )
156- assert ( linf_err_upper < 1e-9 )
155+ assert linf_err_lower < 1e-9
156+ assert linf_err_upper < 1e-9
157157
158158
159159@pytest .mark .parametrize ("order" , [2 , 3 ])
@@ -375,8 +375,8 @@ def cv_from_temp(temp):
375375 op .norm (dcoll , rhs [1 ], np .inf , dd = dd_vol_wall )
376376 / op .norm (dcoll , wall_temp , np .inf , dd = dd_vol_wall ))
377377
378- assert ( linf_err_fluid < 1e-6 )
379- assert ( linf_err_wall < 1e-6 )
378+ assert linf_err_fluid < 1e-6
379+ assert linf_err_wall < 1e-6
380380
381381 # Now check accuracy/stability
382382
@@ -460,10 +460,12 @@ def cv_from_temp(temp):
460460 print ("L^inf error (wall):" )
461461 print (eoc_rec_wall )
462462
463- assert (eoc_rec_fluid .order_estimate () >= order - 0.5
464- or eoc_rec_fluid .max_error () < 1e-11 )
465- assert (eoc_rec_wall .order_estimate () >= order - 0.5
466- or eoc_rec_wall .max_error () < 1e-11 )
463+ assert (
464+ eoc_rec_fluid .order_estimate () >= order - 0.5
465+ or eoc_rec_fluid .max_error () < 1e-11 )
466+ assert (
467+ eoc_rec_wall .order_estimate () >= order - 0.5
468+ or eoc_rec_wall .max_error () < 1e-11 )
467469
468470
469471if __name__ == "__main__" :
0 commit comments