class_docstr: Runs tests from TestPairwiseGP in single precision.
code: def test_init_warns_on_single_precision(self) -> None:
      with self.assertWarnsRegex(
          InputDataWarning,
          expected_regex=_get_single_precision_warning(
              str(torch.float32)
          ),
      ):
          self._get_model_and_data(batch_shape=torch.Size([]))
  
imports: import itertools
  import random
  import warnings
  from typing import Dict, Tuple, Union
  import torch
  from botorch.acquisition.objective import ScalarizedPosteriorTransform
  from botorch.exceptions import OptimizationWarning, UnsupportedError
  from botorch.exceptions.warnings import _get_single_precision_warning, InputDataWarning
  from botorch.fit import fit_gpytorch_mll
  from botorch.models.likelihoods.pairwise import PairwiseLikelihood, PairwiseLogitLikelihood, PairwiseProbitLikelihood
  from botorch.models.model import Model
  from botorch.models.pairwise_gp import _ensure_psd_with_jitter, PairwiseGP, PairwiseLaplaceMarginalLogLikelihood
  from botorch.models.transforms.input import Normalize
  from botorch.posteriors import GPyTorchPosterior
  from botorch.sampling.pairwise_samplers import PairwiseSobolQMCNormalSampler
  from botorch.utils.testing import BotorchTestCase
  from gpytorch.kernels import RBFKernel, ScaleKernel
  from gpytorch.kernels.linear_kernel import LinearKernel
  from gpytorch.means import ConstantMean
  from gpytorch.priors import GammaPrior, SmoothedBoxPrior
  from linear_operator.utils.errors import NotPSDError
  from torch import Tensor
label_desc: Use image node_id 2 for calling the TestPairwiseGP_float32 obj's underlying member method code with example usage: obj.test_init_warns_on_single_precision() without return types