code: def test_aamped_one_constant_subsequence_A_B_join(dask_cluster):
      with Client(dask_cluster) as dask_client:
          T_A = np.random.rand(20)
          T_B = np.concatenate(
              (
                  np.zeros(20, dtype=np.float64),
                  np.ones(5, dtype=np.float64),
              )
          )
          m = 3
          ref_mp = naive.aamp(T_A, m, T_B=T_B)
          comp_mp = aamped(
              dask_client, T_A, m, T_B, ignore_trivial=False
          )
          naive.replace_inf(ref_mp)
          naive.replace_inf(comp_mp)
          npt.assert_almost_equal(ref_mp[:, 0], comp_mp[:, 0])
  
imports: import naive
  import numpy
  import numpy.testing
  import pandas
  import pytest
  from dask.distributed import Client, LocalCluster
  from stumpy import aamped, config
label_desc: Use image node_id 11 for calling a global function with example usage: test_aamped_one_constant_subsequence_A_B_join(dask_cluster) without return types