Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix errors from new flake8 version #942

Merged
merged 1 commit into from
Jul 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading