def test_reduce(self):
        """
        L{reduce} should behave like the builtin reduce.
        """
        self.assertEqual(15, reduce(lambda x, y: x + y, [1, 2, 3, 4, 5]))
        self.assertEqual(16, reduce(lambda x, y: x + y, [1, 2, 3, 4, 5], 1))

        L{reduce} should behave like the builtin reduce.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_compat.py