def __getattr__(self, name):
        self._check_if_open()
        try:
            return self.get(name)
        except:
            pass
        raise AttributeError("'%s' object has no attribute '%s'" %
                             (type(self).__name__, name))
Deleting category used in an environment raises ProtectedError.
dataset/ETHPy150Open pydata/pandas/pandas/io/pytables.py/HDFStore.__getattr__--crossover with--dataset/ETHPy150Open mozilla/moztrap/tests/model/environments/models/test_category.py/CategoryTest.test_delete_prevention