def apphook_clear(self):
        from cms.apphook_pool import apphook_pool
        for name, label in list(apphook_pool.get_apphooks()):
            if sys.modules in apphook_pool.apps[name].__class__.__module__:
                del sys.modules[apphook_pool.apps[name].__class__.__module__]
        apphook_pool.clear()
dataset/ETHPy150Open divio/django-cms/cms/test_utils/testcases.py/BaseCMSTestCase.apphook_clear/swapped operands of `in`