code: def test_wpearsonr(self):
      # TODO: if unweight version changes, wp[0] format should be changed
      wp = wpearsonr(self.a, self.b)
      assert_allclose(wp[0], 0.6956083, atol=0.01)
  
      wp = wpearsonr(self.a, self.b, w=self.w)
      assert_allclose(wp, 0.5477226, atol=0.01)
  
imports: from __future__ import division
  from __future__ import print_function
  import os
  import sys
  import unittest
  import numpy
  from numpy.testing import assert_allclose
  from numpy.testing import assert_equal
  from numpy.testing import assert_raises
  from pyod.utils.stat_models import pairwise_distances_no_broadcast
  from pyod.utils.stat_models import wpearsonr
  from pyod.utils.stat_models import pearsonr_mat
  from pyod.utils.stat_models import column_ecdf
  import statsmodels.distributions
  import time
label_desc: Use image node_id 3 for calling the TestStatModels obj's underlying member method code with example usage: obj.test_wpearsonr() without return types