code: def test_vector_data(self):
      # Make sure interpolating a vector field is the same as interpolating
      # each component separately.
      seq = Halton(2, scramble=False, seed=np.random.RandomState())
  
      x = seq.random(100)
      xitp = seq.random(100)
  
      y = np.array(
          [_2d_test_function(x), _2d_test_function(x[:, ::-1])]
      ).T
  
      yitp1 = self.build(x, y)(xitp)
      yitp2 = self.build(x, y[:, 0])(xitp)
      yitp3 = self.build(x, y[:, 1])(xitp)
  
      assert_allclose(yitp1[:, 0], yitp2)
      assert_allclose(yitp1[:, 1], yitp3)
  
imports: import pickle
  import pytest
  import numpy
  from numpy.linalg import LinAlgError
  from numpy.testing import assert_allclose, assert_array_equal
  from scipy.stats.qmc import Halton
  from scipy.spatial import cKDTree
  from scipy.interpolate._rbfinterp import _AVAILABLE, _SCALE_INVARIANT, _NAME_TO_MIN_DEGREE, _monomial_powers, RBFInterpolator
  from scipy.interpolate import _rbfinterp_pythran
label_desc: Use image node_id 5 for calling the _TestRBFInterpolator obj's underlying member method code with example usage: obj.test_vector_data() without return types