Skip to content

Commit

Permalink
fix new flake8 errors (#942)
Browse files Browse the repository at this point in the history
  • Loading branch information
majosm authored Jul 31, 2023
1 parent 8e04681 commit 77b45f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_fluid.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def test_velocity_gradient_structure(actx_factory):
exp_trace = 15
assert grad_v.shape == (dim, dim)
from meshmode.dof_array import DOFArray
assert type(grad_v[0, 0]) == DOFArray
assert isinstance(grad_v[0, 0], DOFArray)

def inf_norm(x):
return actx.to_numpy(op.norm(dcoll, x, np.inf))
Expand Down Expand Up @@ -237,7 +237,7 @@ def test_species_mass_gradient(actx_factory, dim):

assert grad_y.shape == (nspecies, dim)
from meshmode.dof_array import DOFArray
assert type(grad_y[0, 0]) == DOFArray
assert isinstance(grad_y[0, 0], DOFArray)

def inf_norm(x):
return actx.to_numpy(op.norm(dcoll, x, np.inf))
Expand Down

0 comments on commit 77b45f6

Please sign in to comment.