def test_supportedTigetNumWrongError(self):
        class fakecurses(object):
            error = RuntimeError

            def tigetnum(self, value):
                raise ValueError()

        sys.modules['curses'] = fakecurses()
        self.assertFalse(reporter._AnsiColorizer.supported(FakeStream()))
L{reporter._AnsiColorizer.supported} returns C{False} and doesn't try
dataset/ETHPy150Open twisted/twisted/twisted/trial/test/test_reporter.py/AnsiColorizerTests.test_supportedTigetNumWrongError