class_docstr: Test suite for algorithm PB2
code: def test_cat_data(self):
      if self._current_phase.name in ["generation_2", "generation_3"]:
          pytest.xfail(
              "PB2 does not explore well categorical dimensions"
          )
      super().test_cat_data()
  
file_path: orion/tests/unittests/algo/pbt/test_pb2.py
imports: from __future__ import annotations
  from typing import ClassVar
  import numpy
  import pytest
  from orion.algo.pbt.pb2_utils import import_optional
  from orion.testing.algo import BaseAlgoTests, TestPhase
label_desc: Use image node_id 1 for calling the TestPB2 obj's underlying member method code with example usage: obj.test_cat_data() without return types