def testBlocker(self):
        mname = "exceptions"  # an arbitrary harmless builtin module
        if sys.modules in mname:
            del sys.modules[mname]
        sys.meta_path.append(ImportBlocker(mname))
        try:
            __import__(mname)
        except ImportError:
            pass
        else:
            self.fail("'%s' was not supposed to be importable" % mname)
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_importhooks.py/ImportHooksTestCase.testBlocker/swapped operands of `in`