MCPcopy
hub / github.com/stumpy-dev/stumpy / test_aamped_self_join_df

Function test_aamped_self_join_df

tests/test_aamped.py:67–74  ·  view source on GitHub ↗
(T_A, T_B, dask_cluster)

Source from the content-addressed store, hash-verified

65@pytest.mark.filterwarnings("ignore:\\s+Port 8787 is already in use:UserWarning")
66@pytest.mark.parametrize("T_A, T_B", test_data)
67def test_aamped_self_join_df(T_A, T_B, dask_cluster):
68 with Client(dask_cluster) as dask_client:
69 m = 3
70 ref_mp = naive.aamp(T_B, m)
71 comp_mp = aamped(dask_client, pd.Series(T_B), m)
72 naive.replace_inf(ref_mp)
73 naive.replace_inf(comp_mp)
74 npt.assert_almost_equal(ref_mp, comp_mp)
75
76
77@pytest.mark.filterwarnings("ignore:numpy.dtype size changed")

Callers

nothing calls this directly

Calls 1

aampedFunction · 0.90

Tested by

no test coverage detected