def test_subclass_extension_category(self):
        try:
            x = self.base.pp
            self.fail(msg="base.pp should have thrown AttributeError "
                          "as Category subclassing is not supported.")
        except AttributeError:
            pass

        basepp = BasePlusPlus()
        return
Category subclass does not extend base class.
dataset/ETHPy150Open enthought/traits/traits/tests/test_category.py/CategoryTestCase.test_subclass_extension_category