def test_supportedTigetNumErrors(self):
        class fakecurses(object):
            error = RuntimeError
            setUp = 0

            def setupterm(self):
                self.setUp += 1

            def tigetnum(self, value):
                raise self.error()

        sys.modules['curses'] = fakecurses()
        self.assertFalse(reporter._AnsiColorizer.supported(FakeStream()))
        self.assertEqual(sys.modules['curses'].setUp, 1)
Stops the RabbitMQ application, leaving the Erlang node running.
dataset/ETHPy150Open twisted/twisted/twisted/trial/test/test_reporter.py/AnsiColorizerTests.test_supportedTigetNumErrors--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/rabbitmq.py/stop_app