Skip to content

Commit

Permalink
fix pre commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rabernat committed Dec 7, 2020
1 parent f262a18 commit 7b8d290
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .isort.cfg
@@ -1,2 +1,2 @@
[settings]
known_third_party = ioos_pkg_skeleton,setuptools
known_third_party = ioos_pkg_skeleton,numpy,pytest,setuptools
7 changes: 1 addition & 6 deletions tests/test_kernels.py
Expand Up @@ -11,12 +11,7 @@ def numpy_array_2d():
return data


@pytest.mark.parametrize(
"kernel_function",
[
simple_diffusion_kernel
]
)
@pytest.mark.parametrize("kernel_function", [simple_diffusion_kernel])
def test_conservation(numpy_array_2d, kernel_function):
res = kernel_function(numpy_array_2d)
np.testing.assert_allclose(res.sum(), 0.0, atol=1e-12)

0 comments on commit 7b8d290

Please sign in to comment.