diff --git a/tests/test_resource.py b/tests/test_resource.py index c1d5b47..fb058bb 100644 --- a/tests/test_resource.py +++ b/tests/test_resource.py @@ -16,17 +16,17 @@ def test_bval_abstractness(): with pytest.raises(TypeError): - BvalResource() # type: ignore[abstract] + BvalResource() def test_bvec_abstractness(): with pytest.raises(TypeError): - BvecResource() # type: ignore[abstract] + BvecResource() def test_volume_abstractness(): with pytest.raises(TypeError): - VolumeResource() # type: ignore[abstract] + VolumeResource() @pytest.fixture() @@ -64,6 +64,7 @@ def test_bvec_inmemory_get(bvec_array): assert (bvec.get() == bvec_array).all() +@pytest.mark.filterwarnings("ignore:builtin type [sS]wig.* has no __module__ attribute") def test_volume_inmemory_get_array(volume_array): vol = InMemoryVolumeResource(image=itk.image_from_array(volume_array)) assert (vol.get_array() == volume_array).all()