code: def test_get_combined_statistics_allowlist_features(self):
      statistics = text_format.Parse(
          """
      datasets {
        name: 'test'
        features {
          path { step: 'a' }
          type: FLOAT
        }
        features {
          path { step: 'c' }
          type: INT
        }
        features {
          path { step: 'b' }
          type: STRING
        }
      }
      """,
          statistics_pb2.DatasetFeatureStatisticsList(),
      )
  
      expected_output = text_format.Parse(
          """
      datasets {
        name: 'test'
        features {
          path { step: 'a' }
          type: FLOAT
        }
        features {
          path { step: 'b' }
          type: STRING
        }
      }
      """,
          statistics_pb2.DatasetFeatureStatisticsList(),
      )
  
      actual_output = display_util._get_combined_statistics(
          statistics,
          allowlist_features=[
              types.FeaturePath(["a"]),
              types.FeaturePath(["b"]),
          ],
      )
      self.assertLen(actual_output.datasets, 1)
      test_util.assert_dataset_feature_stats_proto_equal(
          self, actual_output.datasets[0], expected_output.datasets[0]
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from typing import Any, Dict
  from absl.testing import absltest
  from absl.testing import parameterized
  from google.protobuf import text_format
  import pandas
  from tensorflow_data_validation import constants
  from tensorflow_data_validation import types
  from tensorflow_data_validation.skew.protos import feature_skew_results_pb2
  from tensorflow_data_validation.utils import display_util
  from tensorflow_data_validation.utils import test_util
  from tensorflow_metadata.proto.v0 import anomalies_pb2
  from tensorflow_metadata.proto.v0 import schema_pb2
  from tensorflow_metadata.proto.v0 import statistics_pb2
label_desc: Use image node_id 5 for calling the DisplayUtilTest obj's underlying member method code with example usage: obj.test_get_combined_statistics_allowlist_features() without return types