def test_map_timeout_exception_handler_returns_exception(self):
        def exception_handler(request, exception):
            return exception
        reqs = [grequests.get(httpbin('delay/1'), timeout=0.001), grequests.get(httpbin('/'))]
        responses = grequests.map(reqs, exception_handler=exception_handler)
        self.assertIsInstance(responses[0], Timeout)
        self.assertTrue(responses[1].ok)
        self.assertEqual(len(responses), 2)
ensure returned value from exception handler is stuffed in the map result
dataset/ETHPy150Open kennethreitz/grequests/tests.py/GrequestsCase.test_map_timeout_exception_handler_returns_exception