(T, m, dask_cluster)
| 70 | @pytest.mark.filterwarnings("ignore:\\s+Port 8787 is already in use:UserWarning") |
| 71 | @pytest.mark.parametrize("T, m", test_data) |
| 72 | def test_mstumped_discords(T, m, dask_cluster): |
| 73 | with Client(dask_cluster) as dask_client: |
| 74 | excl_zone = int(np.ceil(m / 4)) |
| 75 | |
| 76 | ref_P, ref_I = naive.mstump(T, m, excl_zone, discords=True) |
| 77 | comp_P, comp_I = mstumped(dask_client, T, m, discords=True) |
| 78 | |
| 79 | npt.assert_almost_equal(ref_P, comp_P) |
| 80 | npt.assert_almost_equal(ref_I, comp_I) |
| 81 | |
| 82 | |
| 83 | @pytest.mark.filterwarnings("ignore:\\s+Port 8787 is already in use:UserWarning") |
nothing calls this directly
no test coverage detected