code: def test_pld_not_supported_metrics(self):
      with self.assertRaisesRegex(
          NotImplementedError,
          "Metrics {VARIANCE} do not support PLD budget accounting",
      ):
          budget_accountant = pipeline_dp.PLDBudgetAccountant(
              total_epsilon=1, total_delta=1e-10
          )
          engine = pipeline_dp.DPEngine(
              budget_accountant=budget_accountant,
              backend=pipeline_dp.LocalBackend(),
          )
          (
              aggregate_params,
              public_partitions,
          ) = self._create_params_default()
          aggregate_params.metrics = [pipeline_dp.Metrics.VARIANCE]
          engine.aggregate(
              [1],
              aggregate_params,
              self._get_default_extractors(),
              public_partitions,
          )
  
imports: import sys
  import unittest
  from typing import List, Optional, Tuple
  from unittest.mock import patch
  import numpy
  import apache_beam
  import apache_beam.testing.test_pipeline
  import apache_beam.testing.util
  import pydp.algorithms.partition_selection
  from absl.testing import absltest
  from absl.testing import parameterized
  import pipeline_dp
  from pipeline_dp import aggregate_params
  from pipeline_dp import budget_accounting
  from pipeline_dp import dp_computations
  from pipeline_dp.budget_accounting import NaiveBudgetAccountant
  from pipeline_dp.pipeline_backend import PipelineBackend
  from pipeline_dp.pipeline_functions import collect_to_container
  from pipeline_dp.report_generator import ReportGenerator
label_desc: Use image node_id 41 for calling the DpEngineTest obj's underlying member method code with example usage: obj.test_pld_not_supported_metrics() without return types