def test_remove_all_observers(self):
        """White-box test for remove_all_observers"""

        for i in range(10):
            Observer('TYPE', None, center=shared_center)

        self.assert_(10 >= len(shared_center.observers[('TYPE',None)]), 
            "observers registered")

        shared_center.remove_all_observers()
        self.assert_(len(shared_center.observers) == 0, "observers removed")
dataset/ETHPy150Open ipython/ipython-py3k/IPython/utils/tests/test_notification.py/NotificationTests.test_remove_all_observers/swapped operands of `>=`