(T, m, ray_cluster)
| 91 | @pytest.mark.filterwarnings("ignore:\\s+Port 8787 is already in use:UserWarning") |
| 92 | @pytest.mark.parametrize("T, m", test_mdata) |
| 93 | def test_mstumped_ray(T, m, ray_cluster): |
| 94 | if not RAY_IMPORTED: # pragma: no cover |
| 95 | pytest.skip("Skipping Test Ray Not Installed") |
| 96 | |
| 97 | excl_zone = int(np.ceil(m / 4)) |
| 98 | |
| 99 | ref_P, ref_I = naive.mstump(T, m, excl_zone) |
| 100 | comp_P, comp_I = mstumped(ray, T, m) |
| 101 | |
| 102 | npt.assert_almost_equal(ref_P, comp_P) |
| 103 | npt.assert_almost_equal(ref_I, comp_I) |
| 104 | |
| 105 | |
| 106 | @pytest.mark.filterwarnings("ignore:\\s+Port 8787 is already in use:UserWarning") |
nothing calls this directly
no test coverage detected