Skip to content

Commit 5c951df

Browse files
committed
Ignore complex warning due to casts in tests rather than erroring
1 parent 9532ca0 commit 5c951df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_spherical_precompute.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
@pytest.mark.parametrize("reality", reality_to_test)
3333
@pytest.mark.parametrize("method", methods_to_test)
3434
@pytest.mark.parametrize("recursion", recursions_to_test)
35+
@pytest.mark.filterwarnings("ignore:Casting complex values")
3536
def test_transform_inverse(
3637
flm_generator,
3738
L: int,
@@ -159,6 +160,7 @@ def test_transform_inverse_healpix(
159160
@pytest.mark.parametrize("reality", reality_to_test)
160161
@pytest.mark.parametrize("method", methods_to_test)
161162
@pytest.mark.parametrize("recursion", recursions_to_test)
163+
@pytest.mark.filterwarnings("ignore:Casting complex values")
162164
def test_transform_forward(
163165
flm_generator,
164166
L: int,

0 commit comments

Comments
 (0)