def test_GarbageCollectedObj(self):
        class x:
            def __call__(self, a):
                return a
        a = Callable()
        b = Dummy()
        signal = 'this'
        louie.connect(a, signal, b)
        expected = []
        del a
        result = louie.send('this', b, a=b)
        assert result == expected, (
            "Send didn't return expected result:\n\texpected:%s\n\tgot:%s"
            % (expected, result))
        assert len(list(louie.get_all_receivers(b, signal))) == 0, (
            (louie.get_all_receivers(b, signal),) % "Remaining handlers: %s")
        self._isclean()
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/external/louie/test/test_dispatcher.py/TestDispatcher.test_GarbageCollectedObj/swapped operands of `%`