MCPcopy Index your code
hub / github.com/stumpy-dev/stumpy / test_stumped_A_B_join

Function test_stumped_A_B_join

tests/test_stumped.py:126–133  ·  view source on GitHub ↗
(T_A, T_B, dask_cluster)

Source from the content-addressed store, hash-verified

124@pytest.mark.filterwarnings("ignore:\\s+Port 8787 is already in use:UserWarning")
125@pytest.mark.parametrize("T_A, T_B", test_data)
126def test_stumped_A_B_join(T_A, T_B, dask_cluster):
127 with Client(dask_cluster) as dask_client:
128 m = 3
129 ref_mp = naive.stump(T_A, m, T_B=T_B)
130 comp_mp = stumped(dask_client, T_A, m, T_B, ignore_trivial=False)
131 naive.replace_inf(ref_mp)
132 naive.replace_inf(comp_mp)
133 npt.assert_almost_equal(ref_mp, comp_mp)
134
135
136@pytest.mark.filterwarnings("ignore:numpy.dtype size changed")

Callers

nothing calls this directly

Calls 1

stumpedFunction · 0.90

Tested by

no test coverage detected