Skip to content
Snippets Groups Projects
Commit ff3e2fa6 authored by Alexandru Fikl's avatar Alexandru Fikl Committed by Andreas Klöckner
Browse files

rename TestKernel to not confuse pytest

parent 8243cde9
No related branches found
No related tags found
No related merge requests found
Pipeline #564752 failed
...@@ -534,7 +534,7 @@ def test_weird_kernel(pde): ...@@ -534,7 +534,7 @@ def test_weird_kernel(pde):
# {{{ test_get_storage_index # {{{ test_get_storage_index
class TestKernel(ExpressionKernel): class StorageIndexTestKernel(ExpressionKernel):
def __init__(self, dim, max_mi): def __init__(self, dim, max_mi):
super().__init__(dim=dim, expression=1, global_scaling_const=1, super().__init__(dim=dim, expression=1, global_scaling_const=1,
is_complex_valued=False) is_complex_valued=False)
...@@ -550,11 +550,11 @@ class TestKernel(ExpressionKernel): ...@@ -550,11 +550,11 @@ class TestKernel(ExpressionKernel):
@pytest.mark.parametrize("knl", [ @pytest.mark.parametrize("knl", [
LaplaceKernel(2), LaplaceKernel(2),
LaplaceKernel(3), LaplaceKernel(3),
TestKernel(2, (3, 0)), StorageIndexTestKernel(2, (3, 0)),
TestKernel(2, (0, 3)), StorageIndexTestKernel(2, (0, 3)),
TestKernel(3, (3, 0, 0)), StorageIndexTestKernel(3, (3, 0, 0)),
TestKernel(3, (0, 3, 0)), StorageIndexTestKernel(3, (0, 3, 0)),
TestKernel(3, (0, 0, 3)), StorageIndexTestKernel(3, (0, 0, 3)),
BiharmonicKernel(2), BiharmonicKernel(2),
BiharmonicKernel(3), BiharmonicKernel(3),
]) ])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment